This commit is contained in:
2021-04-25 11:22:23 +08:00
parent 5e2c46a3aa
commit 77a6445eea
13 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ class Service extends Component
public function remove($id): bool
{
$component = $this->_components[$id];
$className = get_class($component);
$className = $component::class;
unset($component, $this->_components[$id]);
unset($this->_definition[$id]);