Skip to content

Commit

Permalink
Update Argument.php
Browse files Browse the repository at this point in the history
  • Loading branch information
iliyaZelenko committed Nov 10, 2018
1 parent 4cf7f90 commit c4d92f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Intervention/Image/Commands/Argument.php
Expand Up @@ -114,7 +114,7 @@ public function type($type)
$message = '%s accepts only array as argument %d.';
break;
case 'closure':
$valid = is_a($value, \Closure::class);
$valid = is_a($value, '\Closure');
$message = '%s accepts only Closure as argument %d.';
break;
case 'digit':
Expand Down

0 comments on commit c4d92f2

Please sign in to comment.