Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faster CheckTypehintCallerTypeRule #87

Merged
merged 2 commits into from
Sep 6, 2023
Merged

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Sep 6, 2023

No description provided.

@@ -143,16 +145,7 @@ private function validateArgVsParamTypes(array $args, MethodCall $methodCall, Sc
continue;
}

$argType = $scope->getType($arg->value);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved into validateParam so we don't need to resolve the type for non-fully-qualified types

@TomasVotruba
Copy link
Member

I trust your judgnment and code changes look fine (tests are still passing :)

Thank you 👍

@TomasVotruba TomasVotruba merged commit b596dde into symplify:main Sep 6, 2023
8 checks passed
@staabm staabm deleted the fast branch September 6, 2023 09:33
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.

None yet

3 participants