This commit is contained in:
2021-03-29 17:00:53 +08:00
parent 459d48686a
commit e9f82e59cc
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess
* @throws ReflectionException
* @throws Exception
*/
#[Aspect(InjectProperty::class)] public function init()
public function init()
{
if (!Context::hasContext(Relation::class)) {
$relation = Snowflake::createObject(Relation::class);