From dfada33039e7692ad1955f904761de95cf566035 Mon Sep 17 00:00:00 2001 From: whwyy Date: Mon, 18 Dec 2023 16:32:47 +0800 Subject: [PATCH] eee --- Container.php | 1 + 1 file changed, 1 insertion(+) 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 };