| 1 | <?php |
||
| 12 | class AddPromiseMethod extends NodeVisitorAbstract |
||
| 13 | { |
||
| 14 | /** @var string */ |
||
| 15 | private $resolverProperty; |
||
| 16 | |||
| 17 | /** @var string */ |
||
| 18 | private $name; |
||
| 19 | |||
| 20 | /** @var string|null */ |
||
| 21 | private $returnType; |
||
| 22 | |||
| 23 | public function __construct(string $resolverProperty, string $name, string $returnType = null) |
||
| 29 | |||
| 30 | public function leaveNode(Node $node) |
||
| 46 | } |