@@ -141,7 +141,7 @@ |
||
| 141 | 141 | */ |
| 142 | 142 | public function setEndpoint($endpoint) |
| 143 | 143 | { |
| 144 | - if (empty($endpoint) || !is_string($endpoint)) |
|
| 144 | + if (empty($endpoint) || ! is_string($endpoint)) |
|
| 145 | 145 | { |
| 146 | 146 | throw new InvalidArgumentException('The message endpoint must be a non-empty string'); |
| 147 | 147 | } |