brevo-php icon indicating copy to clipboard operation
brevo-php copied to clipboard

Fix PHP 8.4 deprecated implicit nullable parameter

Open HCHABANE opened this issue 8 months ago • 1 comments

When using the getbrevo/brevo-php SDK with PHP 8.4, deprecation warnings are triggered due to constructor parameters being implicitly marked as nullable without using the explicit nullable type (?). PHP 8.4 now requires that any parameter with a default value of null must be explicitly declared as nullable in the type hint.

brevo-php-php84-clean.patch

HCHABANE avatar Apr 24 '25 14:04 HCHABANE

This duplicates #57

Benjamin-K avatar May 23 '25 16:05 Benjamin-K