Completed
Pull Request — master (#45)
by Yoann
13:58
created
src/Service/Loco.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         }
78 78
 
79 79
         $query = array_merge($extraQuery, ['key' => $key]);
80
-        $url = self::BASE_URL . $resource . '?' . http_build_query($query);
80
+        $url = self::BASE_URL.$resource.'?'.http_build_query($query);
81 81
 
82 82
         return $this->requestManager->send($method, $url, $body, $headers);
83 83
     }
@@ -196,10 +196,10 @@  discard block
 block discarded – undo
196 196
                 $notes = '';
197 197
                 foreach ($message->getParameters() as $key => $value) {
198 198
                     if (!is_array($value)) {
199
-                        $notes .= 'Parameter: ' . $key . ' (i.e. : ' . $value . ")\n";
199
+                        $notes .= 'Parameter: '.$key.' (i.e. : '.$value.")\n";
200 200
                     } else {
201 201
                         foreach ($value as $k => $v) {
202
-                            $notes .= 'Parameter: ' . $k . ' (i.e. : ' . $v . ")\n";
202
+                            $notes .= 'Parameter: '.$k.' (i.e. : '.$v.")\n";
203 203
                         }
204 204
                     }
205 205
                 }
@@ -398,13 +398,13 @@  discard block
 block discarded – undo
398 398
         }
399 399
         foreach ($subnode as $key => $value) {
400 400
             if (is_array($value)) {
401
-                $nodePath = $path ? $path . '.' . $key : $key;
401
+                $nodePath = $path ? $path.'.'.$key : $key;
402 402
                 $this->flatten($messages, $value, $nodePath);
403 403
                 if (null === $path) {
404 404
                     unset($messages[$key]);
405 405
                 }
406 406
             } elseif (null !== $path) {
407
-                $messages[$path . '.' . $key] = $value;
407
+                $messages[$path.'.'.$key] = $value;
408 408
             }
409 409
         }
410 410
     }
@@ -447,7 +447,7 @@  discard block
 block discarded – undo
447 447
      *
448 448
      * @return array
449 449
      */
450
-    private function getExportQueryParams($key, $tags=null)
450
+    private function getExportQueryParams($key, $tags = null)
451 451
     {
452 452
         $data = array(
453 453
             'index' => 'id',
Please login to merge, or discard this patch.