Passed
Push — master ( 84e281...f469f1 )
by Kuts
01:36
created
src/Exception/InoreaderException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 
4 4
 namespace ExileeD\Inoreader\Exception;
Please login to merge, or discard this patch.
src/Client/GuzzleClient.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 namespace ExileeD\Inoreader\Client;
4 4
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         ]);
32 32
     }
33 33
 
34
-    public function get($endpoint, $params = [], $headers = [])
34
+    public function get($endpoint, $params = [ ], $headers = [ ])
35 35
     {
36 36
         $query = [
37 37
             'query' => $params,
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     /**
44 44
      * @inheritdoc
45 45
      */
46
-    public function request($endpoint, $params = [], $method = 'GET', array $headers = []): ResponseInterface
46
+    public function request($endpoint, $params = [ ], $method = 'GET', array $headers = [ ]): ResponseInterface
47 47
     {
48 48
 
49 49
         $options = array_merge($params, [
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         // TODO: Implement getResponseFormat() method.
89 89
     }
90 90
 
91
-    public function post($endpoint, $params = [], $headers = [])
91
+    public function post($endpoint, $params = [ ], $headers = [ ])
92 92
     {
93 93
 
94 94
         $body = [
Please login to merge, or discard this patch.
src/Client/ClientInterface.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 
4 4
 namespace ExileeD\Inoreader\Client;
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      * @throws InoreaderException
23 23
      * @return ResponseInterface
24 24
      */
25
-    public function get($endpoint, $params = [], $headers = []);
25
+    public function get($endpoint, $params = [ ], $headers = [ ]);
26 26
 
27 27
     /**
28 28
      * Make an HTTP POST request to API
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * @throws InoreaderException
37 37
      * @return ResponseInterface
38 38
      */
39
-    public function post($endpoint, $params = [], $headers = []);
39
+    public function post($endpoint, $params = [ ], $headers = [ ]);
40 40
 
41 41
 
42 42
     /**
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * @throws InoreaderException
53 53
      * @return ResponseInterface
54 54
      */
55
-    public function request($endpoint, $params = [], $method = 'GET', array $headers = []);
55
+    public function request($endpoint, $params = [ ], $method = 'GET', array $headers = [ ]);
56 56
 
57 57
     /**
58 58
      * Get response format for next request
Please login to merge, or discard this patch.
src/Objects/UserInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 
4 4
 namespace ExileeD\Inoreader\Objects;
Please login to merge, or discard this patch.
src/Objects/AbstractObject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 
4 4
 namespace ExileeD\Inoreader\Objects;
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
     /**
11 11
      * @var array
12 12
      */
13
-    protected $data = [];
13
+    protected $data = [ ];
14 14
 
15 15
     /**
16 16
      * Constructor.
Please login to merge, or discard this patch.
src/Objects/AddSubscription.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 
4 4
 namespace ExileeD\Inoreader\Objects;
Please login to merge, or discard this patch.
src/Objects/UnreadCount.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 
4 4
 namespace ExileeD\Inoreader\Objects;
Please login to merge, or discard this patch.
src/Objects/Subscriptions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 
4 4
 namespace ExileeD\Inoreader\Objects;
@@ -14,10 +14,10 @@  discard block
 block discarded – undo
14 14
     public function subscriptions(): array
15 15
     {
16 16
 
17
-        $items = [];
17
+        $items = [ ];
18 18
 
19 19
         foreach ($this->data->subscriptions as $subscription) {
20
-            $items[] = new Subscription($subscription);
20
+            $items[ ] = new Subscription($subscription);
21 21
         }
22 22
 
23 23
         return $items;
Please login to merge, or discard this patch.
src/Objects/ObjectInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 
4 4
 namespace ExileeD\Inoreader\Objects;
Please login to merge, or discard this patch.