Total Complexity | 1 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
18 | class FunctionNodeParser extends AbstractFunctionNodeParser |
||
19 | { |
||
20 | /** |
||
21 | * Parse a node to update the parent node model. |
||
22 | * |
||
23 | * @param Node\Stmt\Function_ $node The node to parse. |
||
24 | * @param PhpFileModelInterface $parent The parent node. |
||
25 | * |
||
26 | * @return PhpFileModelInterface The updated parent. |
||
27 | */ |
||
28 | public function invoke(Node\Stmt\Function_ $node, PhpFileModelInterface $parent): PhpFileModelInterface |
||
41 |