diff --git a/Container.php b/Container.php index 86909b9..4c8c1ae 100644 --- a/Container.php +++ b/Container.php @@ -253,7 +253,7 @@ class Container implements ContainerInterface continue; } $instance = $attribute->newInstance(); - $instance->dispatch($class::class, $property->getName()); + $instance->dispatch($class, $property->getName()); } } }