File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -370,6 +370,7 @@ private function setValue(string $value): void
370370 /**
371371 * @param mixed $expire
372372 * @throws InvalidArgumentException if the expire time is not valid.
373+ * @psalm-suppress RiskyTruthyFalsyComparison
373374 */
374375 private function setExpires ($ expire ): void
375376 {
@@ -405,6 +406,7 @@ private function setExpires($expire): void
405406
406407 /**
407408 * @param string|null $domain
409+ * @psalm-suppress RiskyTruthyFalsyComparison
408410 */
409411 private function setDomain (?string $ domain ): void
410412 {
@@ -413,6 +415,7 @@ private function setDomain(?string $domain): void
413415
414416 /**
415417 * @param string|null $path
418+ * @psalm-suppress RiskyTruthyFalsyComparison
416419 */
417420 private function setPath (?string $ path ): void
418421 {
@@ -438,6 +441,7 @@ private function setHttpOnly(?bool $httpOnly): void
438441 /**
439442 * @param string|null $sameSite
440443 * @throws InvalidArgumentException if the sameSite is not valid.
444+ * @psalm-suppress RiskyTruthyFalsyComparison
441445 */
442446 private function setSameSite (?string $ sameSite ): void
443447 {
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ 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
3637 */
3738 public static function create (
3839 string $ name ,
You can’t perform that action at this time.
0 commit comments