Skip to content

Commit e8be1d8

Browse files
committed
remove unneeded eval given PHP 8 in 6.0
1 parent b115c8b commit e8be1d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public function load(array $configs, ContainerBuilder $container)
557557
$container->registerForAutoconfiguration(LoggerAwareInterface::class)
558558
->addMethodCall('setLogger', [new Reference('logger')]);
559559

560-
$container->registerAttributeForAutoconfiguration(AsEventListener::class, static function (ChildDefinition $definition, AsEventListener $attribute, \Reflector $reflector) {
560+
$container->registerAttributeForAutoconfiguration(AsEventListener::class, static function (ChildDefinition $definition, AsEventListener $attribute, \ReflectionClass|\ReflectionMethod $reflector) {
561561
$tagAttributes = get_object_vars($attribute);
562562
if ($reflector instanceof \ReflectionMethod) {
563563
if (isset($tagAttributes['method'])) {

0 commit comments

Comments
 (0)