Skip to content

Commit

Permalink
Merge pull request #34 from voku/analysis-M1QJ1K
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
voku committed Jun 9, 2022
2 parents 586d80b + 4711791 commit 126079c
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 126079c

Please sign in to comment.