Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid calling urlencode() on null #1638

Merged
merged 1 commit into from
Jul 31, 2024
Merged

Avoid calling urlencode() on null #1638

merged 1 commit into from
Jul 31, 2024

Conversation

villfa
Copy link
Contributor

@villfa villfa commented Jul 30, 2024

Hi,

The PR fixes this deprecation warning:

urlencode(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/html/vendor/barryvdh/laravel-debugbar/src/DataCollector/RequestCollector.php:168

This can happen because the value of a cookie is a nullable string.

@barryvdh barryvdh merged commit c4210c3 into barryvdh:master Jul 31, 2024
6 checks passed
@villfa villfa deleted the fix/urlencode-deprecation branch July 31, 2024 06:17
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.

2 participants