Remove usage of search() === to contains()

This commit is contained in:
2025-01-16 12:20:22 +11:00
parent 960e0de5c8
commit 293f1ab9ce
5 changed files with 8 additions and 8 deletions

View File

@@ -36,7 +36,7 @@ final class ObjectClass extends Attribute
*/
public function isStructural(string $value): bool
{
return $this->structural->search($value) !== FALSE;
return $this->structural->contains($value);
}
public function render(bool $edit=FALSE,bool $old=FALSE,bool $new=FALSE): View