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

Conditional return type for SQLite3Result::fetchArray() #3080

Open
wants to merge 1 commit into
base: 1.11.x
Choose a base branch
from

Conversation

devnix
Copy link
Contributor

@devnix devnix commented May 16, 2024

I'm aware that this change can be wrong or incomplete. I was wondering if there is a way in this project to do tests for types, for example https://github.com/azjezz/psl/blob/next/tests/static-analysis

@ondrejmirtes
Copy link
Member

You mean tests for types? Sure: https://phpstan.org/developing-extensions/testing#type-inference

Here most of them are in NodeScopeResolverTest.

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