Skip to content

[TypeDeclaration] Add Static Call support on AddMethodCallBasedStrictParamTypeRector#5960

Merged
samsonasik merged 1 commit intomainfrom
static-cl
Jun 11, 2024
Merged

[TypeDeclaration] Add Static Call support on AddMethodCallBasedStrictParamTypeRector#5960
samsonasik merged 1 commit intomainfrom
static-cl

Conversation

@samsonasik
Copy link
Copy Markdown
Member

No description provided.

@samsonasik
Copy link
Copy Markdown
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 297853b into main Jun 11, 2024
@samsonasik samsonasik deleted the static-cl branch June 11, 2024 09:32
}

$callerType = $this->nodeTypeResolver->getType($subNode->var);
$callerType = $subNode instanceof MethodCall
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would also work for more CallLike classes, like FuncCall or New_ ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants