Skip to content

Commit 81fd976

Browse files
authored
Merge pull request #2117 from cakephp/bugfix_config_deprecation
Fix deprecation warning on Config::offsetGet function
2 parents 4664e27 + f07980c commit 81fd976

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Phinx/Config/Config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,7 @@ public function offsetSet($id, $value): void
507507
* @throws \InvalidArgumentException
508508
* @return mixed
509509
*/
510+
#[\ReturnTypeWillChange]
510511
public function offsetGet($id)
511512
{
512513
if (!array_key_exists($id, $this->values)) {

0 commit comments

Comments
 (0)