Skip to content

Commit

Permalink
Merge pull request #2117 from cakephp/bugfix_config_deprecation
Browse files Browse the repository at this point in the history
Fix deprecation warning on Config::offsetGet function
  • Loading branch information
othercorey authored Oct 9, 2022
2 parents 4664e27 + f07980c commit 81fd976
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Phinx/Config/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ public function offsetSet($id, $value): void
* @throws \InvalidArgumentException
* @return mixed
*/
#[\ReturnTypeWillChange]
public function offsetGet($id)
{
if (!array_key_exists($id, $this->values)) {
Expand Down

0 comments on commit 81fd976

Please sign in to comment.