Completed
Pull Request — master (#6)
by
unknown
15:48 queued 07:51
created
src/AbstractClient.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
      * Return the list of options that can be passed to the HttpClient
64 64
      *
65 65
      * @param  array $options
66
-     * @return array
66
+     * @return string[]
67 67
      */
68 68
     protected function getAllowedClientOptions(array $options)
69 69
     {
Please login to merge, or discard this patch.
src/Client.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -343,7 +343,7 @@  discard block
 block discarded – undo
343 343
     {
344 344
         // We need to modify the nested array keys to get them accepted by Cloudstack.
345 345
         // For example 'details[0][key]' should resolve to 'details[0].key'.
346
-        array_walk($params, function (&$value, $key) {
346
+        array_walk($params, function(&$value, $key) {
347 347
             if (is_array($value)) {
348 348
                 $parsedParams = [];
349 349
 
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
         // to encode the values, but we can't encode the keys. This would otherwise
363 363
         // compromise the signature. Therefore we can't use http_build_query().
364 364
         $queryParams = $this->flattenParams($params);
365
-        array_walk($queryParams, function (&$value, $key) {
365
+        array_walk($queryParams, function(&$value, $key) {
366 366
             $value = $key.'='.rawurlencode($value);
367 367
         });
368 368
 
Please login to merge, or discard this patch.