diff --git a/Annotation/Annotation.php b/Annotation/Annotation.php index 98532a98..c3e107f1 100644 --- a/Annotation/Annotation.php +++ b/Annotation/Annotation.php @@ -132,9 +132,7 @@ class Annotation extends Component } } - $def = Snowflake::getDi()->getDependencies($class); - - $object = $reflect->newInstance($def); + $object = $reflect->newInstance(); $this->resolveMethod($reflect, $class, $alias, $object); return $this->targets($reflect); } catch (\Throwable $throwable) {