|
@@ 176-180 (lines=5) @@
|
| 173 |
|
$this->trait = $node->name; |
| 174 |
|
break; |
| 175 |
|
|
| 176 |
|
case $node instanceof Node\Stmt\Function_: |
| 177 |
|
$signature = $this->getFunctionNodeSignature($node); |
| 178 |
|
$this->foundFunctionNode($this->getLocatedFunctionNode($node, $signature)); |
| 179 |
|
$this->function = $node->name; |
| 180 |
|
break; |
| 181 |
|
|
| 182 |
|
case $node instanceof Node\Stmt\ClassMethod: |
| 183 |
|
$signature = $this->getMethodNodeSignature($node); |
|
@@ 182-186 (lines=5) @@
|
| 179 |
|
$this->function = $node->name; |
| 180 |
|
break; |
| 181 |
|
|
| 182 |
|
case $node instanceof Node\Stmt\ClassMethod: |
| 183 |
|
$signature = $this->getMethodNodeSignature($node); |
| 184 |
|
$this->foundFunctionNode($this->getLocatedFunctionNode($node, $signature)); |
| 185 |
|
$this->function = $node->name; |
| 186 |
|
break; |
| 187 |
|
|
| 188 |
|
case $node instanceof Node\Expr\Closure: |
| 189 |
|
$signature = $this->getClosureNodeSignature($node); |