Passed
Push — master ( 53f4b3...83af41 )
by Terry
01:43
created
src/Psr7/UploadedFile.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -118,11 +118,11 @@  discard block
 block discarded – undo
118 118
      * @param string|null            $sapi   Only assign for unit testing purpose.
119 119
      */
120 120
     public function __construct(
121
-                $source       ,
121
+                $source,
122 122
         ?string $name   = null,
123 123
         ?string $type   = null,
124 124
         ?int    $size   = null,
125
-        int     $error  = 0   ,
125
+        int     $error  = 0,
126 126
         ?string $sapi   = null
127 127
     ) {
128 128
 
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
         }
201 201
 
202 202
         // Is a file..
203
-        if (is_string($this->file) && ! empty($this->file)) {
203
+        if (is_string($this->file) && !empty($this->file)) {
204 204
 
205 205
             if ($this->sapi === 'cli') {
206 206
 
@@ -221,8 +221,8 @@  discard block
 block discarded – undo
221 221
             } else {
222 222
 
223 223
                 if (
224
-                    ! is_uploaded_file($this->file) || 
225
-                    ! move_uploaded_file($this->file, $targetPath)
224
+                    !is_uploaded_file($this->file) || 
225
+                    !move_uploaded_file($this->file, $targetPath)
226 226
                 ) {
227 227
                     // Throw exception on any error during the move operation.
228 228
                     throw new RuntimeException(
Please login to merge, or discard this patch.