From 69a53b8f7ebc8acd7f17d811a2a5cd244b952728 Mon Sep 17 00:00:00 2001 From: Joseph Date: Thu, 1 May 2025 17:33:25 +0100 Subject: [PATCH] tests: Fix phpstan errors --- tests/AbstractTestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/AbstractTestCase.php b/tests/AbstractTestCase.php index db302b07..dbe8c964 100644 --- a/tests/AbstractTestCase.php +++ b/tests/AbstractTestCase.php @@ -87,7 +87,7 @@ protected function getYamlBase64(): string protected static function getGotifyUri(): string { if (getenv('GOTIFY_URI') !== false) { - return getenv('GOTIFY_URI'); + return (string) getenv('GOTIFY_URI'); } return self::$gotifyUri; @@ -101,7 +101,7 @@ protected static function getGotifyUri(): string protected static function getHttpBinUri(): string { if (getenv('HTTPBIN_URI') !== false) { - return getenv('HTTPBIN_URI'); + return (string) getenv('HTTPBIN_URI'); } return self::$httpBinUri;