Skip to content

Conversation

@mshcherb
Copy link
Contributor

  • mg_api_last_error(): string $error -> ?string $error
  • mg_dump_headers(): array $headers -> ?array $headers

PHP 8.4 deprecated implicit nullable parameter types. Parameters with null default values must now use explicit ? syntax.

Fixes #213

- mg_api_last_error(): string $error -> ?string $error
- mg_dump_headers(): array $headers -> ?array $headers

PHP 8.4 deprecated implicit nullable parameter types.
Parameters with null default values must now use explicit ? syntax.

Fixes mailgun#213
@mshcherb mshcherb merged commit a198848 into mailgun:master Jan 18, 2026
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.

the explicit nullable type must be used in php 8.4

1 participant