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

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/File/ExcludeMimeType.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function isValid($value, $file = null)

if (empty($this->type)) {
$this->error(self::NOT_DETECTED);
false;
return false;
}

$mimetype = $this->getMimeType(true);
Expand Down

0 comments on commit 463e3d7

Please sign in to comment.