This commit is contained in:
2021-03-04 15:25:42 +08:00
parent a578c2eaac
commit 47e372c37e
2 changed files with 0 additions and 5 deletions
-3
View File
@@ -138,9 +138,6 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
$methods = $annotation->getMethods(get_called_class());
foreach ($methods as $method => $attributes) {
foreach ($attributes as $attribute) {
if (!($attribute instanceof Get) && !($attribute instanceof Set)) {
continue;
}
$attribute->execute([$this, $method]);
}
}