Skip to content

Commit 25d3584

Browse files
authored
Merge pull request #21 from andrew-demb/fix-comment-description
Fix inconsistency between phpdoc description and method body
2 parents e110b0d + 760f8d0 commit 25d3584

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/DependencyInjection/DeprecatedAliasesCompilerPass.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function process(ContainerBuilder $container): void
2626
*
2727
* symfony/dependency-injection v5.1 introduces a deprecation notice when calling
2828
* setDeprecation() with less than 3 args and the
29-
* `Symfony\Component\DependencyInjection\Dumper\Preloader` class was
29+
* `Symfony\Component\DependencyInjection\Compiler\AliasDeprecatedPublicServicesPass` class was
3030
* introduced at the same time. By checking if this class exists,
3131
* we can determine the correct param count to use when calling setDeprecated.
3232
*
@@ -37,8 +37,6 @@ public function process(ContainerBuilder $container): void
3737
*/
3838
private function getDeprecationMsg(string $message, string $version): array
3939
{
40-
// \Symfony\Component\DependencyInjection\Compiler\AliasDeprecatedPublicServicesPass
41-
// introduced in symfony/dependency-injection 5.1.0
4240
if (class_exists(AliasDeprecatedPublicServicesPass::class)) {
4341
return [
4442
'code-tool/jaeger-client-symfony-bridge',

0 commit comments

Comments
 (0)