Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add return type mixed to offsetGet #185

Merged
merged 1 commit into from
Dec 24, 2021
Merged

Conversation

ruudk
Copy link
Contributor

@ruudk ruudk commented Dec 14, 2021

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!

Turns out that FriendsOfBehat#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.
```
@Yozhef Yozhef merged commit 572c34e into FriendsOfBehat:master Dec 24, 2021
@Yozhef
Copy link
Contributor

Yozhef commented Dec 24, 2021

@ruudk done Release 2.3.1

@ruudk ruudk deleted the patch-1 branch December 24, 2021 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants