Skip to content

Commit 8cbf888

Browse files
committed
Issue #6470 Fixes inconsistent use of self vs static in AutowireTrait
1 parent ca904c8 commit 8cbf888

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Commands/AutowireTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ public static function create(ContainerInterface $container)
4040
$args[] = $container->get($service);
4141
}
4242

43-
return new self(...$args);
43+
return new static(...$args);
4444
}
4545
}

0 commit comments

Comments
 (0)