Searched refs:findInstanceOf (Results 1 – 3 of 3) sorted by relevance
35 $this->assertSame($vars, $finder->findInstanceOf($stmts, Expr\Variable::class));36 $this->assertSame($vars, $finder->findInstanceOf($stmts[0], Expr\Variable::class));37 $this->assertSame([], $finder->findInstanceOf($stmts, Expr\BinaryOp\Mul::class));
44 public function findInstanceOf($nodes, string $class): array { function in PhpParser\\NodeFinder
333 $classes = $nodeFinder->findInstanceOf($stmts, Node\Stmt\Class_::class);
Completed in 11 milliseconds