Commit Graph

4 Commits

Author SHA1 Message Date
Ruud Kamphuis
237df2e912 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.
```
2021-12-14 17:56:03 +01:00
Ruud Kamphuis
8a48661921 Add PHP 8.1 compatibility
Return type of FriendsOfBehat\SymfonyExtension\Mink\MinkParameters::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
2021-11-13 10:23:18 +01:00
Kamil Kokot
0ecd038e61 Make MinkParameters imitate PHP arrays 2018-12-28 15:40:13 +01:00
Kamil Kokot
9b6206d47b Add MinkParameters support 2018-12-28 15:24:33 +01:00