This commit is contained in:
as2252258@163.com
2021-08-09 02:14:36 +08:00
parent 7d9b45446d
commit 3366556ffe
+1 -1
View File
@@ -70,7 +70,7 @@ class LocalService extends Component
*/
public function has($id): bool
{
return isset($this->_components[$id], $this->_definition[$id]);
return isset($this->_components[$id]) || isset($this->_definition[$id]);
}