- Removed an unused 'methods' property

This commit is contained in:
mcndave committed 2026-07-14 14:54:06 +00:00
1 parent 67aa7e513d
commit 13ccb13a0b
2 files changed
+10 -7

No files matched your search

+1 -3
View File
@@ -175,9 +175,7 @@ class ReflectedClass implements ReflectedInterface
public function getAttribute(string $attributeType): ?object
{
foreach($this->getAttributes(true, $attributeType) as $attribute) {
if ($attribute->object instanceof $attributeType) {
return $attribute;
}
return $attribute;
}
return null;