Skip to content

Commit 5f1b946

Browse files
committed
Merge branch 'master' into 3.2-merge
2 parents e145428 + 74fbf16 commit 5f1b946

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Cookie/Cookie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function __construct(
9494
*
9595
* @return string The cookie
9696
*/
97-
public function __toString()
97+
public function __toString(): string
9898
{
9999
$str = ($this->isRaw() ? $this->getName() : urlencode($this->getName())) . '=';
100100

src/Cookie/SetCookie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function __construct(array $data = [])
5252
}
5353
}
5454

55-
public function __toString()
55+
public function __toString(): string
5656
{
5757
$str = $this->data['Name'] . '=' . $this->data['Value'] . '; ';
5858
foreach ($this->data as $k => $v) {

0 commit comments

Comments
 (0)