Skip to content

fix(): implicit nullable parameter deprecation#7

Open
jt-univio wants to merge 2 commits into
GetResponse:masterfrom
jt-univio:fix/php-explicit-nullable-call-info
Open

fix(): implicit nullable parameter deprecation#7
jt-univio wants to merge 2 commits into
GetResponse:masterfrom
jt-univio:fix/php-explicit-nullable-call-info

Conversation

@jt-univio
Copy link
Copy Markdown

This PR fixes a PHP deprecation warning caused by an implicitly nullable parameter.

PHP 8.4+ deprecates typed parameters with a null default value when the nullable type is not declared explicitly.

Before:

public function debugCall(Call $call, CallInfo $info = null)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant