改名
This commit is contained in:
@@ -193,7 +193,9 @@ class Container extends BaseObject
|
|||||||
return $param->getDefaultValue();
|
return $param->getDefaultValue();
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
return match ($type = $param->getType()) {
|
$type = $param->getType();
|
||||||
|
var_dump($type);
|
||||||
|
return match ($type) {
|
||||||
'mixed' => $param->getDefaultValue(),
|
'mixed' => $param->getDefaultValue(),
|
||||||
'string' => '',
|
'string' => '',
|
||||||
'int', 'float' => 0,
|
'int', 'float' => 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user