Completed
Push — master ( f6452d...01a8f0 )
by Tobias
01:55
created
src/Http/Request.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
             $this->params[strtoupper($name)] = $value;
52 52
         }
53 53
 
54
-        $this->stdin  = $stdin;
54
+        $this->stdin = $stdin;
55 55
 
56 56
         rewind($this->stdin);
57 57
     }
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 
151 151
         while (!feof($stream)) {
152 152
             $getContent = $fieldName && !$inHeader;
153
-            $buffer = stream_get_line($stream, static::$bufferSize,  "\n" . ($getContent ? '--'.$boundary : ''));
153
+            $buffer = stream_get_line($stream, static::$bufferSize, "\n".($getContent ? '--'.$boundary : ''));
154 154
             $buffer = trim($buffer, "\r");
155 155
 
156 156
             // Find the empty line between headers and body
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
 
163 163
             if ($getContent) {
164 164
                 if ($fieldType === 'data') {
165
-                    $post .= (isset($post[0]) ? '&' : '') . $fieldName . "=" . urlencode($buffer);
165
+                    $post .= (isset($post[0]) ? '&' : '').$fieldName."=".urlencode($buffer);
166 166
                 } elseif ($fieldType === 'file' && $filename) {
167 167
                     $tmpPath = @tempnam($this->getUploadDir(), 'fastcgi_upload');
168 168
                     $err = file_put_contents($tmpPath, $buffer);
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
                 }
296 296
 
297 297
                 $trimmedMatch = trim($part, '[]');
298
-                if ($i === $count -1) {
298
+                if ($i === $count - 1) {
299 299
                     $current[$trimmedMatch] = $data;
300 300
                 } else {
301 301
                     $current = &$current[$trimmedMatch];
Please login to merge, or discard this patch.