From 20f5e56b72f8783e218a37e0c7b63e1a228e4868 Mon Sep 17 00:00:00 2001 From: Evgeniy Zyubin Date: Mon, 27 May 2024 11:03:09 +0300 Subject: [PATCH] Fix static analysis --- src/RequestTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RequestTrait.php b/src/RequestTrait.php index d4f4c25..bd34459 100644 --- a/src/RequestTrait.php +++ b/src/RequestTrait.php @@ -131,7 +131,7 @@ public function getMethod(): string * @param string $method Case-sensitive method. * @return static * @throws InvalidArgumentException for invalid HTTP methods. - * @psalm-suppress TypeDoesNotContainType, NoValue, RedundantCondition + * @psalm-suppress DocblockTypeContradiction, TypeDoesNotContainType, NoValue, RedundantCondition */ public function withMethod($method): RequestInterface {