This commit is contained in:
2021-01-20 15:47:16 +08:00
parent 29ff4ca455
commit 3d5f1e2355
+1 -1
View File
@@ -98,7 +98,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, \ArrayAccess
if (!($attribute instanceof Get)) { if (!($attribute instanceof Get)) {
continue; continue;
} }
$response[$attribute->name] = $attribute['handler']; $response[$attribute->name] = $annotation['handler'];
} }
} }
$this->_annotations = $response; $this->_annotations = $response;