src/Declaration/Visitor/LocateMethodsToBeProxied.php 1 location
|
@@ 31-38 (lines=8) @@
|
| 28 |
|
return null; |
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
private function isIgnoredMethod(Node\Stmt\ClassMethod $node): bool |
| 32 |
|
{ |
| 33 |
|
if ($node->isPrivate() || $node->isStatic() || $node->isFinal() || $node->isAbstract() || $node->isMagic()) { |
| 34 |
|
return true; |
| 35 |
|
} |
| 36 |
|
|
| 37 |
|
return false; |
| 38 |
|
} |
| 39 |
|
} |
src/Visitor/UpdatePromiseMethods.php 1 location
|
@@ 34-41 (lines=8) @@
|
| 31 |
|
return null; |
| 32 |
|
} |
| 33 |
|
|
| 34 |
|
private function ignoreMethod(Node\Stmt\ClassMethod $node): bool |
| 35 |
|
{ |
| 36 |
|
if ($node->isPrivate() || $node->isStatic() || $node->isFinal() || $node->isAbstract() || $node->isMagic()) { |
| 37 |
|
return true; |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
return false; |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
private function resolvedParentMethodCall(Node\Stmt\ClassMethod $node): Node\Expr\MethodCall |
| 44 |
|
{ |