From 4274000bf8fa2ac8c49f1f0a8cd5636f0182416d Mon Sep 17 00:00:00 2001 From: David Buchmann Date: Sat, 3 Jul 2021 08:39:17 +0200 Subject: [PATCH] fix phpstan errors --- phpstan.neon.dist | 6 +++--- src/BatchResult.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 004d2f5..ac324e6 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -6,14 +6,14 @@ parameters: - src ignoreErrors: - - message: "#^Strict comparison using \\!\\=\\= between null and null will always evaluate to false\\.$#" + message: "#^Cannot call method createStream\\(\\) on Psr\\\\Http\\\\Message\\\\StreamFactoryInterface\\|null\\.$#" count: 1 path: src/HttpMethodsClient.php - - message: "#^Cannot call method createStream\\(\\) on Psr\\\\Http\\\\Message\\\\StreamFactoryInterface\\|null\\.$#" + message: "#^Cannot call method isDisabled() on Http\\Client\\Common\\HttpClientPool\\HttpClientPoolItem|false\\.$#" count: 1 - path: src/HttpMethodsClient.php + path: src/HttpClientPool/RoundRobinClientPool.php - message: "#^Method Http\\\\Client\\\\Common\\\\Plugin\\\\Journal\\:\\:addSuccess\\(\\) has no return typehint specified\\.$#" diff --git a/src/BatchResult.php b/src/BatchResult.php index 45e1535..ccaf83c 100644 --- a/src/BatchResult.php +++ b/src/BatchResult.php @@ -16,12 +16,12 @@ final class BatchResult { /** - * @var \SplObjectStorage + * @var \SplObjectStorage */ private $responses; /** - * @var \SplObjectStorage + * @var \SplObjectStorage */ private $exceptions;