carlos-mg89 / PHPoAuthLib

PHP 7 / 8 oAuth 1/2 Client Library
Other
4 stars 7 forks source link

don't rawurlencode null values #13

Closed tacman closed 4 months ago

tacman commented 4 months ago

Deprecated: rawurlencode(): Passing null to parameter #1 ($string) of type string is deprecated

This PR simply skips the rawurlencode if the value is null, to get rid of the above deprecation error.