@@ -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,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\Objects; |
@@ -14,10 +14,10 @@ discard block |
||
| 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; |
@@ -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\Objects; |
@@ -49,10 +49,10 @@ discard block |
||
| 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; |
@@ -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,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,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,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,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\Objects; |
@@ -49,10 +49,10 @@ discard block |
||
| 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; |
@@ -1,4 +1,4 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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', |