@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | private $deferred; |
34 | 34 | |
35 | 35 | /** |
36 | - * @param LoopInterface $loop |
|
36 | + * @param string $realm |
|
37 | 37 | * @return static |
38 | 38 | */ |
39 | 39 | public static function create($realm, Session $session, ActionMessageInterface $actionMsg) |
@@ -45,6 +45,10 @@ discard block |
||
45 | 45 | ]); |
46 | 46 | } |
47 | 47 | |
48 | + /** |
|
49 | + * @param string $name |
|
50 | + * @param ActionMessageInterface $subject |
|
51 | + */ |
|
48 | 52 | public function __construct($name, $subject = null, $data = null) |
49 | 53 | { |
50 | 54 | parent::__construct($name, $subject, $data); |
@@ -11,7 +11,6 @@ |
||
11 | 11 | namespace WyriHaximus\Ratchet\Event; |
12 | 12 | |
13 | 13 | use Cake\Event\Event; |
14 | -use Cake\Event\EventManager; |
|
15 | 14 | use React\EventLoop\LoopInterface; |
16 | 15 | use React\Promise\Deferred; |
17 | 16 | use React\Promise\PromiseInterface; |
@@ -75,7 +75,6 @@ |
||
75 | 75 | } |
76 | 76 | |
77 | 77 | /** |
78 | - * @param MessageEvent $msg |
|
79 | 78 | */ |
80 | 79 | public function authorize(MessageEvent $messageEvent) |
81 | 80 | { |
@@ -23,6 +23,9 @@ |
||
23 | 23 | return sprintf(self::EVENT, $realm); |
24 | 24 | } |
25 | 25 | |
26 | + /** |
|
27 | + * @param string $realm |
|
28 | + */ |
|
26 | 29 | public static function create($realm, ClientSession $session) |
27 | 30 | { |
28 | 31 | return new static(self::realmEvent($realm), $session, [ |
@@ -24,6 +24,9 @@ |
||
24 | 24 | return sprintf(self::EVENT, $realm); |
25 | 25 | } |
26 | 26 | |
27 | + /** |
|
28 | + * @param string $realm |
|
29 | + */ |
|
27 | 30 | public static function create($realm, ClientSession $session, TransportInterface $transport) |
28 | 31 | { |
29 | 32 | return new static(self::realmEvent($realm), $session, [ |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace WyriHaximus\Ratchet\Shell; |
4 | 4 | |
5 | 5 | use Cake\Console\Shell; |
6 | -use Cake\Core\Configure; |
|
7 | 6 | use Cake\Event\EventManager; |
8 | 7 | use React\EventLoop\LoopInterface; |
9 | 8 | use WyriHaximus\Ratchet\Event\ConstructEvent; |