Skip to content

Commit

Permalink
Added stub for PhpParser\Node\Name
Browse files Browse the repository at this point in the history
  • Loading branch information
ygottschalk committed Jun 28, 2023
1 parent 790a478 commit 5a3abd5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions stubs/phpparser.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,15 @@ abstract class CallLike extends Expr {
*/
public function getArgs(): array {}
}


namespace PhpParser\Node;

use PhpParser\NodeAbstract;

class Name extends NodeAbstract {
/** @return non-empty-list<non-empty-string> */
public function getParts(): array {
return $this->parts;
}
}

0 comments on commit 5a3abd5

Please sign in to comment.