File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 30
30
// @see https://github.com/symfony/symfony/pull/47363
31
31
'Symfony\Component\HttpKernel\Controller\ArgumentValueResolverInterface ' => 'Symfony\Component\HttpKernel\Controller\ValueResolverInterface ' ,
32
32
// @see https://github.com/symfony/symfony/pull/46094
33
- 'Symfony\Component\Security\Core\Security ' => 'Symfony\Bundle\SecurityBundle\Security\Security ' ,
33
+ 'Symfony\Component\Security\Core\Security ' => 'Symfony\Bundle\SecurityBundle\Security ' ,
34
34
// @see https://github.com/symfony/symfony/pull/46161
35
35
'Symfony\Component\Translation\Extractor\PhpAstExtractor ' => 'Symfony\Component\Translation\Extractor\PhpAstExtractor ' ,
36
36
// @see https://github.com/symfony/symfony/pull/47595
Original file line number Diff line number Diff line change @@ -203,8 +203,7 @@ private function removeConstructorIfHasOnlySetNameMethodCall(Class_ $class): voi
203
203
$ onlyNode = $ onlyNode ->expr ;
204
204
}
205
205
206
- /** @var Expr|null $onlyNode */
207
- if ($ onlyNode === null ) {
206
+ if (! $ onlyNode instanceof Expr) {
208
207
return ;
209
208
}
210
209
You can’t perform that action at this time.
0 commit comments