@@ -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 | |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | * @throws InoreaderException |
40 | 40 | * @return \stdClass |
41 | 41 | */ |
42 | - public function post(string $endpoint, $params = []): \stdClass |
|
42 | + public function post(string $endpoint, $params = [ ]): \stdClass |
|
43 | 43 | { |
44 | 44 | |
45 | 45 | $headers = $this->headers(); |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | private function headers(): array |
54 | 54 | { |
55 | 55 | |
56 | - $headers = []; |
|
56 | + $headers = [ ]; |
|
57 | 57 | if ($this->getAccessToken() !== null) { |
58 | 58 | $headers[ 'Authorization' ] = 'Bearer ' . $this->getAccessToken(); |
59 | 59 | } |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | * @throws InoreaderException |
111 | 111 | * @return \stdClass |
112 | 112 | */ |
113 | - public function get(string $endpoint, $params = []): \stdClass |
|
113 | + public function get(string $endpoint, $params = [ ]): \stdClass |
|
114 | 114 | { |
115 | 115 | |
116 | 116 | $headers = $this->headers(); |