Passed
Push — master ( 0619f7...a8d415 )
by Kuts
01:34
created
src/Client.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;
4 4
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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();
Please login to merge, or discard this patch.