@@ -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 |
@@ -140,7 +140,7 @@ discard block |
||
| 140 | 140 | |
| 141 | 141 | /** |
| 142 | 142 | * @param $msg |
| 143 | - * @param $from |
|
| 143 | + * @param ConnectionInterface $from |
|
| 144 | 144 | * @throws WebSocketException |
| 145 | 145 | */ |
| 146 | 146 | function checkForRequiredInMessage($msg, $from) |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | } |
| 156 | 156 | |
| 157 | 157 | /** |
| 158 | - * @param $clonedObject |
|
| 158 | + * @param Receiver $clonedObject |
|
| 159 | 159 | * @param $clone |
| 160 | 160 | */ |
| 161 | 161 | function cloneProperties($clonedObject, $clone) |