Completed
Branch master (fc297f)
by Artem
02:23
created
src/Gockets/Adapter/ChannelAdapter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
     {
28 28
         $response = json_decode($content);
29 29
 
30
-        $array = [];
30
+        $array = [ ];
31 31
 
32 32
         if (!empty($response->channels)) {
33 33
             foreach ($response->channels as $channel) {
34
-                $array[] = $this->stdClassToChannel($channel);
34
+                $array[ ] = $this->stdClassToChannel($channel);
35 35
             }
36 36
         }
37 37
 
Please login to merge, or discard this patch.
src/Gockets/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
     public function prepare(?string $hookUrl = null): Channel
54 54
     {
55 55
         if (is_null($hookUrl)) {
56
-            $options = [];
56
+            $options = [ ];
57 57
         } else {
58 58
             $options = [
59 59
                 \GuzzleHttp\RequestOptions::JSON => [
Please login to merge, or discard this patch.