Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\Assign;
use PhpParser\Node\Expr\Cast\Array_;
use PhpParser\Node\Expr\Cast\Int_;
Comment thread
samsonasik marked this conversation as resolved.
Outdated
use PhpParser\Node\Expr\Cast\String_;
use PhpParser\Node\Expr\ConstFetch;
use PhpParser\Node\Expr\FuncCall;
use PhpParser\Node\Expr\Variable;
use PhpParser\Node\Scalar\DNumber;
use PhpParser\Node\Scalar\LNumber;
use PhpParser\Node\Scalar\Float_;
use PhpParser\Node\Stmt;
use PhpParser\Node\Stmt\Expression;
use PhpParser\Node\VariadicPlaceholder;
Expand Down Expand Up @@ -184,8 +184,8 @@ private function isSimpleValue(Expr $expr): bool
return $expr instanceof Variable
Comment thread
TomasVotruba marked this conversation as resolved.
|| $expr instanceof ConstFetch
|| $expr instanceof String_
|| $expr instanceof LNumber
|| $expr instanceof DNumber
|| $expr instanceof Float_
|| $expr instanceof Int_
|| $expr instanceof Array_;
Comment thread
TomasVotruba marked this conversation as resolved.
}

Expand Down
Loading