This commit is contained in:
2020-08-31 14:02:54 +08:00
parent 814e73866e
commit 073dee78b9
2 changed files with 16 additions and 1 deletions
-1
View File
@@ -76,7 +76,6 @@ class Service extends Component
if ($definition === NULL) {
return $this->remove($id);
}
unset($this->_components[$id]);
if (is_object($definition) || is_callable($definition, TRUE)) {
return $this->_definition[$id] = $definition;