diff --git a/Container.php b/Container.php index 7f4dffc..6416190 100644 --- a/Container.php +++ b/Container.php @@ -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 };