This commit is contained in:
2023-12-18 16:32:47 +08:00
parent eeb06cf623
commit dfada33039
+1
View File
@@ -366,6 +366,7 @@ class Container implements ContainerInterface
'int', 'float' => 0,
'', 'mixed' => NULL,
'array' => [],
'object' => throw new Exception('Param type must has default value.'),
'bool' => false,
default => null
};