Skip to content

Commit 237df2e

Browse files
authored
Add return type mixed to offsetGet
Turns out that #175 was not enough to make Symfony happy: ``` Method "ArrayAccess::offsetGet()" might add "mixed" as a native return type declaration in the future. Do the same in implementation "FriendsOfBehat\SymfonyExtension\Mink\MinkParameters" now to avoid errors or add an explicit @return annotation to suppress this message. ```
1 parent f48f15f commit 237df2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Mink/MinkParameters.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ public function offsetExists($offset): bool
2727
return array_key_exists($offset, $this->minkParameters);
2828
}
2929

30+
/**
31+
* @return mixed
32+
*/
3033
#[ReturnTypeWillChange]
3134
public function offsetGet($offset)
3235
{

0 commit comments

Comments
 (0)