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

PHP 8.1 Warnings #132

Closed
asacarter opened this issue Apr 16, 2022 · 1 comment
Closed

PHP 8.1 Warnings #132

asacarter opened this issue Apr 16, 2022 · 1 comment

Comments

@asacarter
Copy link

asacarter commented Apr 16, 2022

Deprecated: Return type of Osiset\BasicShopifyAPI\ResponseAccess::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\osiset\basic-shopify-api\src\Osiset\BasicShopifyAPI\ResponseAccess.php on line 60

Deprecated: Return type of Osiset\BasicShopifyAPI\ResponseAccess::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in \vendor\osiset\basic-shopify-api\src\ResponseAccess.php on line 156

#[\ReturnTypeWillChange] can be used to suppress the warning.

@JoshHighland
Copy link

Looks like #129 solves this. Once it's merged

@gnikyt gnikyt closed this as completed Sep 6, 2022
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

3 participants