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 Deprecated warnings #57

Open
ahmeddabak opened this issue Jan 20, 2025 · 0 comments
Open

PHP Deprecated warnings #57

ahmeddabak opened this issue Jan 20, 2025 · 0 comments

Comments

@ahmeddabak
Copy link

I am trying to use this library in my project running php8.1. I keep getting a deprecation warning from the HighchartOption class.

PHP Deprecated:  Return type of Ghunti\HighchartsPHP\HighchartOption::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/ghunti/highcharts-php/src/HighchartOption.php on line 111

PHP Deprecated:  Return type of Ghunti\HighchartsPHP\HighchartOption::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 /var/www/html/vendor/ghunti/highcharts-php/src/HighchartOption.php on line 121

PHP Deprecated:  Return type of Ghunti\HighchartsPHP\HighchartOption::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/ghunti/highcharts-php/src/HighchartOption.php on line 99

PHP Deprecated:  Return type of Ghunti\HighchartsPHP\HighchartOption::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/ghunti/highcharts-php/src/HighchartOption.php on line 116
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

1 participant