Skip to content

fix: make function parameter explicitly nullable for PHP 7.4 - 8.5#8225

Open
arshidkv12 wants to merge 1 commit into
impress-org:developfrom
arshidkv12:clean-8.1
Open

fix: make function parameter explicitly nullable for PHP 7.4 - 8.5#8225
arshidkv12 wants to merge 1 commit into
impress-org:developfrom
arshidkv12:clean-8.1

Conversation

@arshidkv12

@arshidkv12 arshidkv12 commented Apr 26, 2026

Copy link
Copy Markdown

Description

This PR updates function parameter types to use explicit nullable syntax (?Type) instead of implicit null default values.

This ensures compatibility with PHP 7.4–8.5 and avoids deprecation warnings in PHP 8.4+.

Affects

  • Exception handling constructors
  • Any code relying on implicit nullable parameters

Testing Instructions

composer test

@arshidkv12 arshidkv12 changed the title fix: make constructor parameter explicitly nullable for PHP 7.4 - 8.5 fix: make function parameter explicitly nullable for PHP 7.4 - 8.5 Apr 26, 2026
@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open 45 days with no activity. Stale PRs will NOT be automatically closed.

@github-actions github-actions Bot added the Stale label Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant