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

Return type of ClickHouseDB\Statement::current() should either be compatible with Iterator::current() #170

Merged
merged 2 commits into from
Jun 22, 2022

Conversation

m1khal3v
Copy link

Fix deprecations

2022-06-21T20:09:15+00:00 [info] Deprecated: Return type of ClickHouseDB\Statement::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
2022-06-21T20:09:15+00:00 [info] User Deprecated: Method "Iterator::current()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "ClickHouseDB\Statement" now to avoid errors or add an explicit @return annotation to suppress this message.

m1khal3v added 2 commits June 22, 2022 01:23
…ent() should either be compatible with Iterator::current()
…ent() should either be compatible with Iterator::current()
@isublimity isublimity merged commit 1c6f935 into smi2:master Jun 22, 2022
@isublimity
Copy link
Contributor

Thx!

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