diff options
Diffstat (limited to 'tests/mocks/MockCompiler.php')
-rw-r--r-- | tests/mocks/MockCompiler.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/mocks/MockCompiler.php b/tests/mocks/MockCompiler.php index 89db68f..fced5a2 100644 --- a/tests/mocks/MockCompiler.php +++ b/tests/mocks/MockCompiler.php @@ -7,7 +7,6 @@ declare(strict_types=1); */ use NeonXP\Dotenv\Compiler\CompilerInterface; -use NeonXP\Dotenv\Types\KeyValue; /** * Class MockCompiler @@ -16,7 +15,7 @@ class MockCompiler implements CompilerInterface { /** - * @param KeyValue[] $collection + * @param array[] $collection */ function setRawCollection(array $collection): void { @@ -24,11 +23,11 @@ class MockCompiler implements CompilerInterface } /** - * @param KeyValue $keyValue - * @return KeyValue + * @param array $array + * @return array */ - function compileKeyValue(KeyValue $keyValue): KeyValue + function compile(array $array): array { - return $keyValue; + return $array; } }
\ No newline at end of file |