8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 795aa9c commit 6242550Copy full SHA for 6242550
src/Services/Validators/Structure.php
@@ -162,6 +162,6 @@ private function tabs(): void
162
private function isNotValidColumn(Obj $section): bool
163
{
164
return (! is_numeric($section->get('columns')) || $section->get('columns') <= 0)
165
- && ! (new Collection(Attributes::Columns))->contains($section->get('columns'));
+ && ! in_array($section->get('columns'), Attributes::Columns);
166
}
167
0 commit comments