@@ -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) |
@@ -72,7 +72,7 @@ |
||
72 | 72 | */ |
73 | 73 | function sendBack($data) |
74 | 74 | { |
75 | - $this->sendToWebSocketUser($this->conn,$data); |
|
75 | + $this->sendToWebSocketUser($this->conn,$data); |
|
76 | 76 | } |
77 | 77 | |
78 | 78 | /** |
@@ -47,7 +47,7 @@ |
||
47 | 47 | * @throws \Illuminate\Validation\ValidationException |
48 | 48 | */ |
49 | 49 | public function validate($request, array $rules, |
50 | - array $messages = [], array $customAttributes = []) |
|
50 | + array $messages = [], array $customAttributes = []) |
|
51 | 51 | { |
52 | 52 | return $this->getValidationFactory()->make( |
53 | 53 | (array) $request, $rules, $messages, $customAttributes |