FriendsOfBehat / SymfonyExtension

:musical_score: Extension integrating Behat with Symfony.
MIT License
472 stars 62 forks source link

Add return type mixed to offsetGet #185

Closed ruudk closed 2 years ago

ruudk commented 2 years ago

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.

The deprecation error triggers on Symfony 5.4 / 6.0.

@pamil Could you please merge and tag this? Thanks!

Yozhef commented 2 years ago

@ruudk done Release 2.3.1