Skip to content

Commit

Permalink
Merge 4711791 into 586d80b
Browse files Browse the repository at this point in the history
  • Loading branch information
voku committed Jun 9, 2022
2 parents 586d80b + 4711791 commit ee95548
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/voku/SimplePhpParser/Parsers/Helper/Utils.php
Expand Up @@ -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
{
Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit ee95548

Please sign in to comment.