Passed
Push — master ( 84e281...f469f1 )
by Kuts
01:36
created
src/Objects/Tag.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/Summary.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/Subscription.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/Item.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/StreamContents.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;
@@ -49,10 +49,10 @@  discard block
 block discarded – undo
49 49
     public function items(): array
50 50
     {
51 51
 
52
-        $items = [];
52
+        $items = [ ];
53 53
 
54 54
         foreach ($this->data->items as $item) {
55
-            $items[] = new Item($item);
55
+            $items[ ] = new Item($item);
56 56
         }
57 57
 
58 58
         return $items;
Please login to merge, or discard this patch.
src/Client.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
 namespace ExileeD\Inoreader;
4 4
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      * @throws InoreaderException
36 36
      * @return \stdClass
37 37
      */
38
-    public function post(string $endpoint, $params = []): \stdClass
38
+    public function post(string $endpoint, $params = [ ]): \stdClass
39 39
     {
40 40
         $response = $this->getHttpClient()->post($endpoint, $params);
41 41
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
      * @throws InoreaderException
76 76
      * @return \stdClass
77 77
      */
78
-    public function get(string $endpoint, $params = []): \stdClass
78
+    public function get(string $endpoint, $params = [ ]): \stdClass
79 79
     {
80 80
         $response = $this->getHttpClient()->get($endpoint, $params, [
81 81
             'Authorization' => 'Bearer c3b56f87fa66a8f0fb976cfe385d78b9d9e75bd0',
Please login to merge, or discard this patch.
src/Inoreader.php 1 patch
Spacing   +5 added lines, -5 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;
@@ -218,12 +218,12 @@  discard block
 block discarded – undo
218 218
     public function tagsList($types = 1, $counts = 1): array
219 219
     {
220 220
 
221
-        $response = $this->getClient()->get('tag/list', ['types' => $types, 'counts' => $counts]);
221
+        $response = $this->getClient()->get('tag/list', [ 'types' => $types, 'counts' => $counts ]);
222 222
 
223
-        $result = [];
223
+        $result = [ ];
224 224
 
225 225
         foreach ($response->tags as $tag) {
226
-            $result[] = new Tag($tag);
226
+            $result[ ] = new Tag($tag);
227 227
         }
228 228
 
229 229
         return $result;
@@ -239,7 +239,7 @@  discard block
 block discarded – undo
239 239
      * @throws InoreaderException
240 240
      * @return StreamContents
241 241
      */
242
-    public function streamContents(array $params = []): StreamContents
242
+    public function streamContents(array $params = [ ]): StreamContents
243 243
     {
244 244
 
245 245
         $response = $this->getClient()->get('stream/contents', $params);
Please login to merge, or discard this patch.