Skip to content

Conversation

@tenzap
Copy link

@tenzap tenzap commented Feb 7, 2025

Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead

Implicitly marking parameter $arguments as nullable is deprecated, the explicit nullable type must be used instead
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn’t you just be adding ?array

Copy link
Author

@tenzap tenzap Feb 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IIRC doing how I did permits to keep compatibility with PHP 5.6 & 7.0 (the syntax you suggest is valid since 7.1 only)

@francislavoie
Copy link

@smortensen could we get this merged?

I think bumping the minimum to PHP 7.1 and using ?array would be valid as well.

@RLHawk1
Copy link

RLHawk1 commented Oct 20, 2025

I contacted the original developer of this, and he doesn't have access to merge any pull requests. So my company has forked this and plans to maintain it going forward. You can use it at https://github.com/hcs-llc/php-json-rpc-http

@tenzap
Copy link
Author

tenzap commented Oct 21, 2025

Thanks. Do you also plan to release to packagist.org ? What's the authors point of view on that?

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.

4 participants