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

Fix classname typo in tests #2461

Merged
merged 1 commit into from
Jun 17, 2023
Merged

Conversation

szepeviktor
Copy link
Contributor

From #2458

@phpstan-bot
Copy link
Collaborator

You've opened the pull request against the latest branch 1.11.x. If your code is relevant on 1.10.x and you want it to be released sooner, please rebase your pull request and change its target to 1.10.x.

@@ -63,7 +63,7 @@ public function dataIsSuperTypeOf(): array
TrinaryLogic::createYes(),
],
'implementation with @extends with different type args' => [
new GenericObjectType(B\I::class, [new ObjectType('DateTimeInteface')]),
new GenericObjectType(B\I::class, [new ObjectType('DateTimeInterface')]),
Copy link
Contributor

Choose a reason for hiding this comment

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

Would DateTimeInterface::class work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think yes.
But I only do what I'm told.

@ondrejmirtes ondrejmirtes merged commit 8a409ca into phpstan:1.11.x Jun 17, 2023
188 checks passed
@ondrejmirtes
Copy link
Member

Thank you.

@szepeviktor szepeviktor deleted the fix-typo1 branch June 17, 2023 07:37
@szepeviktor
Copy link
Contributor Author

You're welcome.

Advancing with the next one 🏃🏻‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants