Completed
Push — master ( 5c75ec...5ff604 )
by Peter
02:22
created
src/Http/Client.php 2 patches
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
     /**
58 58
      * Setter for request headers.
59 59
      *
60
-     * @param array $headers
60
+     * @param array $header
61 61
      * @return Client
62 62
      */
63 63
     public function addHeader(array $header)
@@ -122,7 +122,6 @@  discard block
 block discarded – undo
122 122
     /**
123 123
      * Setter for optional request sort.
124 124
      *
125
-     * @param string|null $locale
126 125
      * @return Client
127 126
      */
128 127
     public function setSort($sort)
@@ -136,7 +135,7 @@  discard block
 block discarded – undo
136 135
     /**
137 136
      * Setter for mandatory request max results limiter.
138 137
      *
139
-     * @param integer|null $maxResults
138
+     * @param integer $maxResults
140 139
      * @return Client
141 140
      */
142 141
     public function setMaxresults($maxResults = 100)
@@ -199,7 +198,7 @@  discard block
 block discarded – undo
199 198
     /**
200 199
      * Get http response body, cast to json and decode.
201 200
      *
202
-     * @param Response object $response
201
+     * @param Response Response $response
203 202
      * @return array
204 203
      */
205 204
     protected function getBody(Response $response)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      */
63 63
     public function addHeader(array $header)
64 64
     {
65
-        $this->options[ 'headers' ][] = $header;
65
+        $this->options[ 'headers' ][ ] = $header;
66 66
         return $this;
67 67
     }
68 68
 
Please login to merge, or discard this patch.
src/Api/Betting.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
         $this->httpClient = $httpClient ?: new HttpClient;
16 16
     }
17 17
 
18
-    public function listMarketcatalogue($filter = [], $marketProjection = [], $sort = null, $maxResults = 100, $locale = null)
18
+    public function listMarketcatalogue($filter = [ ], $marketProjection = [ ], $sort = null, $maxResults = 100, $locale = null)
19 19
     {
20 20
         return $this->httpClient
21 21
             ->setMethod('post')
Please login to merge, or discard this patch.