Skip to content

Commit 2f323be

Browse files
Fixed handling of array keys in the tests
1 parent f1f4ca5 commit 2f323be

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/Dotenv/Repository/RepositoryTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,7 @@ private function key()
6666
{
6767
$keyVal = $this->keyVal();
6868

69-
/** @var string */
70-
return \key($keyVal);
69+
return (string) \key($keyVal);
7170
}
7271

7372
/**

0 commit comments

Comments
 (0)