Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Commit

Permalink
Update Image.php
Browse files Browse the repository at this point in the history
fix sniff test
  • Loading branch information
gulaandrij authored Jul 13, 2016
1 parent bd93bcf commit 00a414a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Faker/Provider/Image.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 00a414a

Please sign in to comment.