Skip to content

Commit f07980c

Browse files
committed
Fix deprecation warning on Config::offsetGet function
Signed-off-by: Matthew Peveler <[email protected]>
1 parent 4664e27 commit f07980c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Phinx/Config/Config.php

+1
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)