Passed
Push — master ( 47f096...b4aac6 )
by Thanh
01:58
created
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.