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

Fix passing null of type string is deprecated warning #16651

Open
wants to merge 2 commits into
base: 5.0.x
Choose a base branch
from

Conversation

raicabogdan
Copy link

Hello!

In raising this pull request, I confirm the following:

  • I have read and understood the Contributing Guidelines
  • I have checked that another pull request for this purpose does not exist
  • I wrote some tests for this PR
  • I have updated the relevant CHANGELOG
  • I have created a PR for the documentation about this change

Small description of change:
Ensure null type deprecation warnings are avoided, happens if someone creates the same cookie twice eg:

$this->cookies->set("test", "test value");
$this->cookies->set("test", "test value");

it will cause the deprecated warning message.

Thanks

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.

1 participant