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

Commit

Permalink
Fix BC break introduced by 3fc1e66
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Cantonnet committed Jul 18, 2017
1 parent 438b3a6 commit d3a3be6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/File/MimeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ public function isValid($value, $file = null)
$this->type = null;
if (! empty($this->finfo)) {
$this->type = finfo_file($this->finfo, $file);
finfo_close($this->finfo);
unset($this->finfo);
}
}

Expand Down

0 comments on commit d3a3be6

Please sign in to comment.