Skip to content

fix: PHP 8.4 deprecation - use explicit nullable type in downloadInvoice() - #306

Merged
Naoray merged 1 commit into
mollie:mainfrom
nangui:fix/php84-implicit-nullable-deprecation
Feb 9, 2026
Merged

fix: PHP 8.4 deprecation - use explicit nullable type in downloadInvoice()#306
Naoray merged 1 commit into
mollie:mainfrom
nangui:fix/php84-implicit-nullable-deprecation

Conversation

@nangui

@nangui nangui commented Dec 3, 2025

Copy link
Copy Markdown
Contributor

Summary

This PR fixes a PHP 8.4 deprecation warning by using explicit nullable type declaration.

Problem

PHP 8.4 deprecated implicit nullable parameter declarations. The following warning is triggered:

…ice()

## Summary

This PR fixes a PHP 8.4 deprecation warning by using explicit nullable type declaration.

## Problem

PHP 8.4 deprecated implicit nullable parameter declarations. The following warning is triggered:
@Naoray
Naoray merged commit b7f4ddb into mollie:main Feb 9, 2026
12 checks passed
phillipfickl added a commit to phillipfickl/laravel-cashier-mollie that referenced this pull request Feb 16, 2026
Replace all remaining implicit nullable parameter types with explicit
nullable type declarations to resolve PHP 8.4 deprecation warnings.

PR mollie#306 previously fixed src/Billable.php; this commit addresses the
remaining 13 occurrences across exception constructors, interval
generators, Invoice methods, and test helpers.
Naoray pushed a commit that referenced this pull request Apr 3, 2026
Replace all remaining implicit nullable parameter types with explicit
nullable type declarations to resolve PHP 8.4 deprecation warnings.

PR #306 previously fixed src/Billable.php; this commit addresses the
remaining 13 occurrences across exception constructors, interval
generators, Invoice methods, and test helpers.
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.

2 participants