| 1 | <?php |
||
| 12 | trait ResolveExpressionTrait |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * @param FuncCall $funcCall |
||
| 16 | * @param Context $context |
||
| 17 | * @return string|bool |
||
| 18 | * @throws \PHPSA\Exception\RuntimeException |
||
| 19 | */ |
||
| 20 | 5 | public function resolveFunctionName(FuncCall $funcCall, Context $context) |
|
| 35 | |||
| 36 | /** |
||
| 37 | * @param \PhpParser\Node[] $nodes |
||
| 38 | * @return \PhpParser\Node\Stmt\Return_ |
||
| 39 | */ |
||
| 40 | private function findReturnStatement(array $nodes) |
||
| 48 | } |
||
| 49 |
Very long variable names usually make code harder to read. It is therefore recommended not to make variable names too verbose.