From 2f323be67aa34769f09fdadf76595b3bce10feb3 Mon Sep 17 00:00:00 2001 From: Graham Campbell Date: Sun, 12 Nov 2023 22:42:18 +0000 Subject: [PATCH] Fixed handling of array keys in the tests --- tests/Dotenv/Repository/RepositoryTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Dotenv/Repository/RepositoryTest.php b/tests/Dotenv/Repository/RepositoryTest.php index ce296dc6..6c8b70e5 100644 --- a/tests/Dotenv/Repository/RepositoryTest.php +++ b/tests/Dotenv/Repository/RepositoryTest.php @@ -66,8 +66,7 @@ private function key() { $keyVal = $this->keyVal(); - /** @var string */ - return \key($keyVal); + return (string) \key($keyVal); } /**