This commit is contained in:
2021-02-22 19:01:26 +08:00
parent 4ace82d706
commit 4ecdf9a9d3
+1
View File
@@ -192,6 +192,7 @@ class Container extends BaseObject
if ($param->isOptional()) {
return $param->getDefaultValue();
}
var_dump($param->getType(), $param->getName());
return match ($param->getType()) {
'mixed' => $param->getDefaultValue(),
'string' => '',