@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function initialize(string $host, string $token = 'gingdev') |
| 35 | 35 | { |
| 36 | - if (! filter_var($host, FILTER_VALIDATE_URL)) { |
|
| 36 | + if (!filter_var($host, FILTER_VALIDATE_URL)) { |
|
| 37 | 37 | throw new InvalidArgumentException('The host name is not valid'); |
| 38 | 38 | } |
| 39 | 39 | $this->host = rtrim($host, '/'); |
@@ -60,7 +60,7 @@ discard block |
||
| 60 | 60 | * @param array $data |
| 61 | 61 | * @return boolean |
| 62 | 62 | */ |
| 63 | - public function emit(string $event, array $data = []): bool |
|
| 63 | + public function emit(string $event, array $data = [ ]): bool |
|
| 64 | 64 | { |
| 65 | 65 | $args = [ |
| 66 | 66 | 'namespace' => $this->namespace, |