This commit is contained in:
2021-04-25 15:42:59 +08:00
parent ed199261be
commit 3b0e0a504f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -54,11 +54,11 @@ class Service extends Component
if (is_object($config)) {
return $this->_components[$id] = $config;
}
$object = clone Snowflake::createObject($config);
$object = Snowflake::createObject($config);
} else {
$config = $this->_alias[$id];
$object = clone Snowflake::createObject($config);
$object = Snowflake::createObject($config);
}
return $this->_components[$id] = $object;
}