PATH:
opt
/
cpanel
/
ea-wappspector
/
vendor
/
rector
/
rector
/
src
/
NodeAnalyzer
<?php declare (strict_types=1); namespace Rector\NodeAnalyzer; use PhpParser\Node\Arg; use PhpParser\Node\Identifier; final class ArgsAnalyzer { /** * @param Arg[] $args */ public function hasNamedArg(array $args) : bool { foreach ($args as $arg) { if ($arg->name instanceof Identifier) { return \true; } } return \false; } }
[-] ScopeAnalyzer.php
[edit]
[-] CallAnalyzer.php
[edit]
[-] PropertyFetchAnalyzer.php
[edit]
[-] PropertyPresenceChecker.php
[edit]
[+]
..
[-] MagicClassMethodAnalyzer.php
[edit]
[-] VariadicAnalyzer.php
[edit]
[-] ArgsAnalyzer.php
[edit]
[-] DoctrineEntityAnalyzer.php
[edit]
[-] ExprAnalyzer.php
[edit]
[-] ParamAnalyzer.php
[edit]
[-] ConstFetchAnalyzer.php
[edit]
[-] ClassAnalyzer.php
[edit]
[-] TerminatedNodeAnalyzer.php
[edit]
[-] VariableAnalyzer.php
[edit]
[-] PropertyAnalyzer.php
[edit]
[-] BinaryOpAnalyzer.php
[edit]
[-] CompactFuncCallAnalyzer.php
[edit]