diff --git a/System/Di/Container.php b/System/Di/Container.php index 0a7f00d3..d78ba607 100644 --- a/System/Di/Container.php +++ b/System/Di/Container.php @@ -129,7 +129,6 @@ class Container extends BaseObject return $reflect->newInstanceArgs($dependencies ?? []); } if (!empty($dependencies) && $reflect->implementsInterface('Snowflake\Abstracts\Configure')) { - var_dump($dependencies); $dependencies[count($dependencies) - 1] = $config; return $reflect->newInstanceArgs($dependencies); } diff --git a/System/Snowflake.php b/System/Snowflake.php index db5964b2..c84f8064 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -203,6 +203,9 @@ class Snowflake public static function configure($object, $config): mixed { foreach ($config as $key => $value) { + if (is_integer($key)) { + var_dump($value); + } if (!property_exists($object, $key)) { continue; }