From 2c1ca15582661cc5b0b04bd108d3d5b7e3f092a3 Mon Sep 17 00:00:00 2001 From: Giuseppe Mazzapica Date: Wed, 1 Mar 2023 17:51:27 +0100 Subject: [PATCH] Fix Psalm --- src/Env/WordPressEnvBridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Env/WordPressEnvBridge.php b/src/Env/WordPressEnvBridge.php index 953aa30..2a71a14 100644 --- a/src/Env/WordPressEnvBridge.php +++ b/src/Env/WordPressEnvBridge.php @@ -256,7 +256,7 @@ class WordPressEnvBridge private static $loadedVars; /** - * @var array + * @var array */ private static $cache = []; @@ -669,7 +669,7 @@ private function isLoadedVar(string $name): bool /** * @param string $name * @param string $value - * @return int|bool|string|null + * @return int|float|bool|string|null * * @psalm-assert Filters $this->filters * phpcs:disable Inpsyde.CodeQuality.ReturnTypeDeclaration