Skip to content

Commit 40bbd03

Browse files
committed
Fix psalm
1 parent 97796bc commit 40bbd03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CookieCreator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ final class CookieCreator
3333
* @param string|null $sameSite whether the cookie will be available for cross-site requests.
3434
* @return CookieInterface
3535
* @throws InvalidArgumentException if one or more arguments are not valid.
36-
* @psalm-suppress RiskyTruthyFalsyComparison
3736
*/
3837
public static function create(
3938
string $name,
@@ -54,6 +53,7 @@ public static function create(
5453
* @param string $string raw `Set-Cookie` header value.
5554
* @return CookieInterface
5655
* @throws InvalidArgumentException if the raw `Set-Cookie` header value is not valid.
56+
* @psalm-suppress RiskyTruthyFalsyComparison
5757
*/
5858
public static function createFromString(string $string): CookieInterface
5959
{

0 commit comments

Comments
 (0)