mirror of
https://github.com/rectorphp/rector.git
synced 2025-02-25 20:23:49 +01:00
note
This commit is contained in:
parent
d9899e4522
commit
334a2a7f71
@ -55,6 +55,7 @@ final class MethodCallTypeResolver implements PerNodeTypeResolverInterface, Node
|
||||
*/
|
||||
public function resolve(Node $methodCallNode): array
|
||||
{
|
||||
// @todo: decouple to own method
|
||||
if ($methodCallNode->var instanceof MethodCall) {
|
||||
// chain method calls: $this->someCall()->anotherCall()
|
||||
$parentCallerTypes = $this->nodeTypeResolver->resolve($methodCallNode->var);
|
||||
|
Loading…
x
Reference in New Issue
Block a user