You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and you can no longer have required parameters appearing after optional parameters in PHP 8
I think adding a " = [] " after the array $params would solve the problem without requiring a change of parameter order and maybe an empty() check in the body of the method to ensure it is required ?
Tony
The text was updated successfully, but these errors were encountered:
Hi
Im getting the error
Required parameter $params follows optional parameter $method
in a PHP 8 system
Its triggered from
phirehose/lib/OauthPhirehose.php
Line 30 in 1f7fe13
and you can no longer have required parameters appearing after optional parameters in PHP 8
I think adding a " = [] " after the array $params would solve the problem without requiring a change of parameter order and maybe an empty() check in the body of the method to ensure it is required ?
Tony
The text was updated successfully, but these errors were encountered: