Skip to content

Commit

Permalink
Fix lint error.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Feb 24, 2017
1 parent 37a26ca commit 003ee93
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Validation/Validation.php
Expand Up @@ -692,6 +692,7 @@ public static function extension($check, $extensions = ['gif', 'jpeg', 'png', 'j
{
if (is_array($check)) {
$check = isset($check['name']) ? $check['name'] : array_shift($check);

return static::extension($check, $extensions);
}
$extension = strtolower(pathinfo($check, PATHINFO_EXTENSION));
Expand Down

0 comments on commit 003ee93

Please sign in to comment.