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

[zend-db] update $_schema type hint from array to string #202

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

Marrikulus
Copy link
Contributor

Update $_schema type hint from array to string.
It's only ever used like a string and never as an array.

I discovered this while using phpstan on my codebase.
I have over 500 tables that inherited from this class and all of them define the schema property.

Update $_schema type hint
it's only ever used like a string and never as an array.
@falkenhawk falkenhawk changed the title Update $_schema type hint from array to string [zend-db] update $_schema type hint from array to string Jan 28, 2025
Copy link
Member

@falkenhawk falkenhawk left a comment

Choose a reason for hiding this comment

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

Thanks!

@falkenhawk falkenhawk merged commit 9534021 into zf1s:master Jan 28, 2025
13 checks passed
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