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;