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

Upgrade nexmo/laravel #54

Closed
martio opened this issue Feb 4, 2022 · 2 comments
Closed

Upgrade nexmo/laravel #54

martio opened this issue Feb 4, 2022 · 2 comments

Comments

@martio
Copy link

martio commented Feb 4, 2022

  • Nexmo Notification Channel Version: 2.5.1
  • Laravel Version: 8.82.0
  • PHP Version: 8.1

Description:

Please, upgrade nexmo/laravel to version 3.0.0

For PHP 8.1:

Return type of Vonage\Client\Credentials\AbstractCredentials::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor/vonage/client-core/src/Client/Credentials/AbstractCredentials.php on line 31
@driesvints
Copy link
Member

We're currently preparing a new major version with v3 support of the core Vonage client here: #53. I'm afraid that patching the current package to v3 of nexmo/laravel isn't an option, sorry.

@driesvints
Copy link
Member

Hey @martio. Thanks to @SecondeJK there's now an update that adds the fixes for that: https://github.com/Vonage/vonage-php-sdk-core/releases/tag/2.10.1

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

No branches or pull requests

2 participants