From 47117913524230be50bd6532aedd7f963d9f8d60 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 9 Jun 2022 05:24:21 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/voku/SimplePhpParser/Parsers/Helper/Utils.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/voku/SimplePhpParser/Parsers/Helper/Utils.php b/src/voku/SimplePhpParser/Parsers/Helper/Utils.php index f0b4884..fb6ad78 100644 --- a/src/voku/SimplePhpParser/Parsers/Helper/Utils.php +++ b/src/voku/SimplePhpParser/Parsers/Helper/Utils.php @@ -5,10 +5,10 @@ namespace voku\SimplePhpParser\Parsers\Helper; use PhpParser\Node\Expr\UnaryMinus; -use ReflectionClass; -use ReflectionFunction; use RecursiveArrayIterator; use RecursiveIteratorIterator; +use ReflectionClass; +use ReflectionFunction; final class Utils { @@ -77,7 +77,6 @@ public static function getPhpParserValueFromNode( ?string $classStr = null, ?ParserContainer $parserContainer = null ) { - if (\property_exists($node, 'value')) { /** @psalm-suppress UndefinedPropertyFetch - false-positive ? */ if (\is_object($node->value)) {