Added "use SplObserver"
This commit is contained in:
parent
6e7dccc037
commit
61fcaa57c0
@ -3,6 +3,7 @@
|
||||
namespace Lychee\Modules;
|
||||
|
||||
use SplSubject;
|
||||
use SplObserver;
|
||||
|
||||
final class Plugins implements SplSubject {
|
||||
|
||||
@ -42,7 +43,7 @@ final class Plugins implements SplSubject {
|
||||
|
||||
}
|
||||
|
||||
public function attach(\SplObserver $observer) {
|
||||
public function attach(SplObserver $observer) {
|
||||
|
||||
if (!isset($observer)) return false;
|
||||
|
||||
@ -53,7 +54,7 @@ final class Plugins implements SplSubject {
|
||||
|
||||
}
|
||||
|
||||
public function detach(\SplObserver $observer) {
|
||||
public function detach(SplObserver $observer) {
|
||||
|
||||
if (!isset($observer)) return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user