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 deprecation warning on Config::offsetGet function #2117

Merged
merged 1 commit into from
Oct 9, 2022

Conversation

MasterOdin
Copy link
Member

@MasterOdin MasterOdin commented Oct 9, 2022

Fixes #2110

Adds the #[\ReturnTypeWillChange] annotation to the Config::offsetGet function as to properly type it requires using the mixed keyword added in 8.1 and we still support 7.2+

Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
@MasterOdin MasterOdin force-pushed the bugfix_config_deprecation branch from 36bfc68 to f07980c Compare October 9, 2022 15:32
@MasterOdin MasterOdin changed the title Fix deprecation warning on Config::offset* functions Fix deprecation warning on Config::offsetGet function Oct 9, 2022
@othercorey othercorey merged commit 81fd976 into 0.x Oct 9, 2022
@othercorey othercorey deleted the bugfix_config_deprecation branch October 9, 2022 15:37
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.

Deprecation warning in PHP 8.1 with Phinx 0.13.0
2 participants