Skip to content

Commit

Permalink
Changed invalid argument type name to numeric for file size value
Browse files Browse the repository at this point in the history
  • Loading branch information
ciastektk authored Dec 4, 2023
1 parent 8cb355b commit 00a454e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/FieldType/Image/Type.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ protected function checkValueStructure(BaseValue $value)
if (isset($value->fileSize) && ((!is_int($value->fileSize) && !is_float($value->fileSize)) || $value->fileSize < 0)) {
throw new InvalidArgumentType(
'$value->fileSize',
'int|float',
'numeric',
$value->fileSize
);
}
Expand Down

0 comments on commit 00a454e

Please sign in to comment.