Skip to content

Commit

Permalink
bugfix: IsArrayField
Browse files Browse the repository at this point in the history
  • Loading branch information
tanthammar committed Oct 6, 2020
1 parent d4eadfa commit c60238f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/IsArrayField.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ trait IsArrayField
public function fields($fields = []): self
{
foreach ($fields as $field) {
throw_if(!$field->allowed_in_array),
throw_if(!$field->allowed_in_array,
new invalidArrayFieldType($field->name, $field->type)
);
}
Expand Down

0 comments on commit c60238f

Please sign in to comment.