feat: Global/GetConst API의 Store파트

This commit is contained in:
2022-04-03 23:13:31 +09:00
parent 2d06f368f8
commit 81b81d9036
5 changed files with 302 additions and 1 deletions
+1 -1
View File
@@ -184,7 +184,7 @@ class GetConst extends \sammo\BaseAPI
}
if (is_string($target)) {
return $this->extractObjClassInfo($target, $callerFunction);
return [$target => $this->extractObjClassInfo($target, $callerFunction)];
}
if (!is_array($target)) {