From d2d4fde4486e7d7e1e947926ade98f9cab82f6b8 Mon Sep 17 00:00:00 2001 From: "Libor M." Date: Wed, 13 Nov 2024 15:39:29 +0100 Subject: [PATCH] fix static analysis --- phpstan.neon | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/phpstan.neon b/phpstan.neon index 7745a9d..cc9ab63 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -11,3 +11,15 @@ parameters: ignoreErrors: - identifier: missingType.iterableValue + + - + message: '#^Method Liborm85\\LoggableHttpClient\\Body\\RequestBody\:\:getContent\(\) never returns null so it can be removed from the return type\.$#' + identifier: return.unusedType + count: 1 + path: src/Body/RequestBody.php + + - + message: '#^Method Liborm85\\LoggableHttpClient\\Body\\RequestBody\:\:toStream\(\) never returns null so it can be removed from the return type\.$#' + identifier: return.unusedType + count: 1 + path: src/Body/RequestBody.php