Completed
Pull Request — master (#128)
by
unknown
26:03 queued 11:07
created
src/Misc/ConsoleRequest.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
             }
52 52
 
53 53
             $parsedUrl = parse_url($url);
54
-            if (!isset($parsedUrl['query'])) {
54
+            if ( ! isset($parsedUrl['query'])) {
55 55
                 $separator = '?';
56 56
             } else {
57 57
                 $separator = '&';
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
                     } elseif ($param->getType() === InputParam::TYPE_COOKIE) {
177 177
                         $cookieFields[$key][] = $valueData;
178 178
                     } else {
179
-                        $getFields[$key][] = urlencode((string)$valueData);
179
+                        $getFields[$key][] = urlencode((string) $valueData);
180 180
                     }
181 181
                 } else {
182 182
                     if (in_array($param->getType(), [InputParam::TYPE_POST, InputParam::TYPE_FILE])) {
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
                     } elseif ($param->getType() === InputParam::TYPE_COOKIE) {
187 187
                         $cookieFields[$key] = $valueData;
188 188
                     } else {
189
-                        $getFields[$key] = urlencode((string)$valueData);
189
+                        $getFields[$key] = urlencode((string) $valueData);
190 190
                     }
191 191
                 }
192 192
             }
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
     {
231 231
         $result = [];
232 232
         foreach ($values as $key => $value) {
233
-            if (!is_array($value)) {
233
+            if ( ! is_array($value)) {
234 234
                 $result[$key] = $value;
235 235
                 continue;
236 236
             }
Please login to merge, or discard this patch.