We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e145428 + 74fbf16 commit 5f1b946Copy full SHA for 5f1b946
src/Cookie/Cookie.php
@@ -94,7 +94,7 @@ public function __construct(
94
*
95
* @return string The cookie
96
*/
97
- public function __toString()
+ public function __toString(): string
98
{
99
$str = ($this->isRaw() ? $this->getName() : urlencode($this->getName())) . '=';
100
src/Cookie/SetCookie.php
@@ -52,7 +52,7 @@ public function __construct(array $data = [])
52
}
53
54
55
56
57
$str = $this->data['Name'] . '=' . $this->data['Value'] . '; ';
58
foreach ($this->data as $k => $v) {
0 commit comments