1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Added stub for PhpParser\Node\Name

This commit is contained in:
Yannick Gottschalk 2023-06-28 02:04:45 +02:00
parent 5a2f7c0a71
commit 7aac142a44

View File

@ -20,3 +20,21 @@ abstract class CallLike extends Expr {
*/
public function getArgs(): array {}
}
namespace PhpParser\Node;
use PhpParser\NodeAbstract;
class Name extends NodeAbstract {
/**
* @param string|string[]|self $name
* @param array $attributes
*/
public function __construct($name, array $attributes = []) {}
/**
* @return non-empty-string
*/
public function toString(): string {}
}