@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | namespace ExileeD\Inoreader\Objects; |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | /** |
| 4 | 4 | * @package inoreader-api |
| 5 | 5 | * |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types=1); |
|
| 1 | +<?php declare(strict_types = 1); |
|
| 2 | 2 | |
| 3 | 3 | |
| 4 | 4 | namespace ExileeD\Inoreader; |
@@ -222,12 +222,12 @@ discard block |
||
| 222 | 222 | public function tagsList($types = 1, $counts = 1): array |
| 223 | 223 | { |
| 224 | 224 | |
| 225 | - $response = $this->getClient()->get('tag/list', ['types' => $types, 'counts' => $counts]); |
|
| 225 | + $response = $this->getClient()->get('tag/list', [ 'types' => $types, 'counts' => $counts ]); |
|
| 226 | 226 | |
| 227 | - $result = []; |
|
| 227 | + $result = [ ]; |
|
| 228 | 228 | |
| 229 | 229 | foreach ($response->tags as $tag) { |
| 230 | - $result[] = new Tag($tag); |
|
| 230 | + $result[ ] = new Tag($tag); |
|
| 231 | 231 | } |
| 232 | 232 | |
| 233 | 233 | return $result; |
@@ -243,7 +243,7 @@ discard block |
||
| 243 | 243 | * @throws InoreaderException |
| 244 | 244 | * @return StreamContents |
| 245 | 245 | */ |
| 246 | - public function streamContents(array $params = []): StreamContents |
|
| 246 | + public function streamContents(array $params = [ ]): StreamContents |
|
| 247 | 247 | { |
| 248 | 248 | |
| 249 | 249 | $response = $this->getClient()->get('stream/contents', $params); |
@@ -262,7 +262,7 @@ discard block |
||
| 262 | 262 | * @throws InoreaderException |
| 263 | 263 | * @return ItemIds |
| 264 | 264 | */ |
| 265 | - public function itemsIds(array $params = []): ItemIds |
|
| 265 | + public function itemsIds(array $params = [ ]): ItemIds |
|
| 266 | 266 | { |
| 267 | 267 | |
| 268 | 268 | $response = $this->getClient()->get('stream/items/ids', $params); |