Skip to content

Commit

Permalink
Fixed handling of array keys in the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Nov 12, 2023
1 parent f1f4ca5 commit 2f323be
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/Dotenv/Repository/RepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ private function key()
{
$keyVal = $this->keyVal();

/** @var string */
return \key($keyVal);
return (string) \key($keyVal);
}

/**
Expand Down

0 comments on commit 2f323be

Please sign in to comment.