This commit is contained in:
2021-03-23 17:11:07 +08:00
parent 64e179fb25
commit ac68e071a5
3 changed files with 6 additions and 6 deletions
-2
View File
@@ -149,8 +149,6 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
private function createAnnotation()
{
$annotation = Snowflake::app()->getAttributes();
$annotation->injectProperty($this);
$methods = $annotation->getMethods(get_called_class());
foreach ($methods as $method => $attributes) {
foreach ($attributes as $attribute) {