Passed
Push — master ( 94f019...83575f )
by
unknown
04:57
created
src/Fixture/Factory/VendorExampleFactory.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,8 +109,9 @@
 block discarded – undo
109 109
     private function createImage(string $imagePath): UploadedFile
110 110
     {
111 111
         $imagePath = $this->fileLocator === null ? $imagePath : $this->fileLocator->locate($imagePath);
112
-        if(is_array($imagePath) && count($imagePath) > 0)
113
-            $imagePath = $imagePath[0];
112
+        if(is_array($imagePath) && count($imagePath) > 0) {
113
+                    $imagePath = $imagePath[0];
114
+        }
114 115
 
115 116
         return new UploadedFile($imagePath, basename($imagePath));
116 117
     }
Please login to merge, or discard this patch.