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.
```
This commit is contained in:
Ruud Kamphuis
2021-12-14 17:56:03 +01:00
committed by GitHub
parent f48f15f496
commit 237df2e912

View File

@@ -27,6 +27,9 @@ class MinkParameters implements \Countable, \IteratorAggregate, \ArrayAccess
return array_key_exists($offset, $this->minkParameters);
}
/**
* @return mixed
*/
#[ReturnTypeWillChange]
public function offsetGet($offset)
{