Skip to content

Commit

Permalink
CS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seferov committed Nov 10, 2023
1 parent bdb54c6 commit 32ea5a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Handler/ParameterBagHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public static function afterMethodCallAnalysis(AfterMethodCallAnalysisEvent $eve
$declaring_method_id = $event->getDeclaringMethodId();
$expr = $event->getExpr();

if (!ContainerHandler::isContainerMethod($declaring_method_id, 'getparameter') &&
$declaring_method_id !== 'Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface::get'
if (!ContainerHandler::isContainerMethod($declaring_method_id, 'getparameter')
&& 'Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface::get' !== $declaring_method_id
) {
return;
}
Expand Down

0 comments on commit 32ea5a3

Please sign in to comment.