8000 addressed reviews · laravel-enso/forms@6242550 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6242550

Browse files
committed
addressed reviews
1 parent 795aa9c commit 6242550

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/Validators/Structure.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,6 @@ private function tabs(): void
162162
private function isNotValidColumn(Obj $section): bool
163163
{
164164
return (! is_numeric($section->get('columns')) || $section->get('columns') <= 0)
165-
&& ! (new Collection(Attributes::Columns))->contains($section->get('columns'));
165+
&& ! in_array($section->get('columns'), Attributes::Columns);
166166
}
167167
}

0 commit comments

Comments
 (0)
0