This commit is contained in:
as2252258@163.com
2021-02-23 01:40:48 +08:00
parent 8e64f440a2
commit b62d25e112
+1 -1
View File
@@ -187,7 +187,7 @@ class Container extends BaseObject
* @return mixed * @return mixed
* @throws ReflectionException * @throws ReflectionException
*/ */
public function getReflect($class): ReflectionClass public function getReflect($class): ?ReflectionClass
{ {
$reflect = $this->_reflection[$class] ?? null; $reflect = $this->_reflection[$class] ?? null;
if (!is_null($reflect)) { if (!is_null($reflect)) {