Passed
Push — master ( cb5015...0619f7 )
by Kuts
01:43
created
src/Client/ClientInterface.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
 
4 4
 namespace ExileeD\Inoreader\Client;
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      * @throws InoreaderException
23 23
      * @return ResponseInterface
24 24
      */
25
-    public function get($endpoint, $params = [], $headers = []): ResponseInterface;
25
+    public function get($endpoint, $params = [ ], $headers = [ ]): ResponseInterface;
26 26
 
27 27
     /**
28 28
      * Make an HTTP POST request to API
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
      * @throws InoreaderException
37 37
      * @return ResponseInterface
38 38
      */
39
-    public function post($endpoint, $params = [], $headers = []): ResponseInterface;
39
+    public function post($endpoint, $params = [ ], $headers = [ ]): ResponseInterface;
40 40
 
41 41
 
42 42
     /**
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      * @throws InoreaderException
53 53
      * @return ResponseInterface
54 54
      */
55
-    public function request($endpoint, $params = [], $method = 'GET', array $headers = []): ResponseInterface;
55
+    public function request($endpoint, $params = [ ], $method = 'GET', array $headers = [ ]): ResponseInterface;
56 56
 
57 57
 
58 58
     /**
Please login to merge, or discard this patch.
src/Client/GuzzleClient.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\Client;
4 4
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         return $this->options[ 'base_uri' ];
40 40
     }
41 41
 
42
-    public function get($endpoint, $params = [], $headers = []): ResponseInterface
42
+    public function get($endpoint, $params = [ ], $headers = [ ]): ResponseInterface
43 43
     {
44 44
         $query = [
45 45
             'query' => $params,
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * @inheritdoc
53 53
      */
54
-    public function request($endpoint, $params = [], $method = 'GET', array $headers = []): ResponseInterface
54
+    public function request($endpoint, $params = [ ], $method = 'GET', array $headers = [ ]): ResponseInterface
55 55
     {
56 56
 
57 57
         $options = array_merge($params, [
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         $this->client = $client;
84 84
     }
85 85
 
86
-    public function post($endpoint, $params = [], $headers = []): ResponseInterface
86
+    public function post($endpoint, $params = [ ], $headers = [ ]): ResponseInterface
87 87
     {
88 88
 
89 89
         $body = [
Please login to merge, or discard this patch.