Skip to content

Commit ada8c62

Browse files
committed
Store null cookies
1 parent e7fb659 commit ada8c62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Cookie/ContextCookie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected function _setRawValue(string $value)
7373
*/
7474
public function store()
7575
{
76-
$this->getContext()->cookies()->store($this->name(), $this->_getRawValue(), $this->ttl());
76+
$this->getContext()->cookies()->store($this->name(), $this->_getRawValue() ?? '', $this->ttl());
7777
return $this;
7878
}
7979

0 commit comments

Comments
 (0)