Completed
Push — master ( b9c7eb...a8b83f )
by Benjamin
02:47
created
DataFixtures/ORM/MediaProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,17 +43,17 @@
 block discarded – undo
43 43
             $height = round($width * 3 / 4);
44 44
         }
45 45
 
46
-        $url .= $width . '/' . $height;
46
+        $url .= $width.'/'.$height;
47 47
 
48 48
         $category = ['abstract', 'city', 'nature', 'moutains'];
49
-        $url .= '/' . $category[array_rand($category, 1)] . '/';
49
+        $url .= '/'.$category[array_rand($category, 1)].'/';
50 50
 
51 51
         return $url;
52 52
     }
53 53
 
54 54
     protected function downloadMedia($url)
55 55
     {
56
-        $filepath = sys_get_temp_dir() . '/tmp.jpg';
56
+        $filepath = sys_get_temp_dir().'/tmp.jpg';
57 57
         $ch = curl_init($url);
58 58
         $fp = fopen($filepath, 'wb');
59 59
         curl_setopt($ch, CURLOPT_FILE, $fp);
Please login to merge, or discard this patch.