diff --git a/src/Faker/Provider/Image.php b/src/Faker/Provider/Image.php index f806e50e21..189a0d0f7a 100644 --- a/src/Faker/Provider/Image.php +++ b/src/Faker/Provider/Image.php @@ -76,7 +76,7 @@ public static function image($dir = null, $width = 640, $height = 480, $category curl_setopt($ch, CURLOPT_FILE, $fp); $success = curl_exec($ch) || curl_getinfo($ch, CURLINFO_HTTP_CODE) === 200; - if ($success){ + if ($success) { fclose($fp); } else { unlink($filepath);