Passed
Push — master ( 49eccb...69f727 )
by Thomas
02:32
created
src/Client.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@
 block discarded – undo
244 244
      */
245 245
     public function deleteObjects(array $paths, array $options = [])
246 246
     {
247
-        $paths = array_map(function ($path) {
247
+        $paths = array_map(function($path) {
248 248
             return ['key' => ltrim($path, '/')];
249 249
         }, $paths);
250 250
 
Please login to merge, or discard this patch.
src/Authorizer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
      */
153 153
     protected function getCanonicalQueryString(array $query)
154 154
     {
155
-        $arr = array_map(function ($value, $key) {
155
+        $arr = array_map(function($value, $key) {
156 156
             return rawurlencode($key) . '=' . rawurlencode($value);
157 157
         }, $query, array_keys($query));
158 158
         sort($arr);
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
      */
168 168
     protected function getCanonicalHeaders(array $headers)
169 169
     {
170
-        $arr = array_map(function ($value, $key) {
170
+        $arr = array_map(function($value, $key) {
171 171
             return rawurlencode(strtolower(trim($key)))
172 172
                 . ':' . rawurlencode(trim($value));
173 173
         }, $headers, array_keys($headers));
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
      */
184 184
     protected function getSignedHeaders(array $headers)
185 185
     {
186
-        $headers = array_map(function ($header) {
186
+        $headers = array_map(function($header) {
187 187
             return rawurlencode(strtolower(trim($header)));
188 188
         }, $headers);
189 189
         sort($headers);
Please login to merge, or discard this patch.
src/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
 
200 200
         $contentLength = strlen((string) $body);
201 201
         if (!array_key_exists('content-length', $keys)) {
202
-            $headers['Content-Length'] = $contentLength ;
202
+            $headers['Content-Length'] = $contentLength;
203 203
         }
204 204
 
205 205
         if (!array_key_exists('content-md5', $keys) && $contentLength) {
Please login to merge, or discard this patch.