@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | |
127 | 127 | /** |
128 | 128 | * @param $msg |
129 | - * @param $from |
|
129 | + * @param ConnectionInterface $from |
|
130 | 130 | * @throws WebSocketException |
131 | 131 | */ |
132 | 132 | function checkForRequiredInMessage($msg,$from) |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
144 | - * @param $clonedObject |
|
144 | + * @param Receiver $clonedObject |
|
145 | 145 | * @param $clone |
146 | 146 | */ |
147 | 147 | function cloneProperties($clonedObject, $clone) |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * @param $request |
24 | 24 | * @param ConnectionInterface $from |
25 | - * @param $error |
|
25 | + * @param string $error |
|
26 | 26 | * @throws WebSocketException |
27 | 27 | */ |
28 | 28 | function error($request,ConnectionInterface $from, $error) |
@@ -11,7 +11,6 @@ |
||
11 | 11 | |
12 | 12 | use Shamaseen\Laravel\Ratchet\Exceptions\WebSocketException; |
13 | 13 | use Ratchet\ConnectionInterface; |
14 | -use Shamaseen\Laravel\Ratchet\Objects\Rooms\Room; |
|
15 | 14 | |
16 | 15 | /** |
17 | 16 | * Trait WebSocketMessagesManager |