From 8ea647570b87adda400e5a3ce6c91f4b51327a0d Mon Sep 17 00:00:00 2001 From: Александр Кирюхин Date: Fri, 19 Jan 2018 19:03:26 +0300 Subject: Remove KeyValue object --- tests/mocks/MockCompiler.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'tests/mocks/MockCompiler.php') 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 -- cgit v1.2.3