From 32ea5a31fdd966161af8b84dbe31b9da18c03b1e Mon Sep 17 00:00:00 2001 From: Farhad Safarov Date: Fri, 10 Nov 2023 08:43:57 +0300 Subject: [PATCH] CS fix --- src/Handler/ParameterBagHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Handler/ParameterBagHandler.php b/src/Handler/ParameterBagHandler.php index 37c961d..f8a84ad 100644 --- a/src/Handler/ParameterBagHandler.php +++ b/src/Handler/ParameterBagHandler.php @@ -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; }