aboutsummaryrefslogtreecommitdiff
path: root/tests/mocks/MockCompiler.php
diff options
context:
space:
mode:
authorАлександр Кирюхин <alexander@kiryukhin.su>2018-01-19 19:03:26 +0300
committerАлександр Кирюхин <alexander@kiryukhin.su>2018-01-19 19:03:26 +0300
commit8ea647570b87adda400e5a3ce6c91f4b51327a0d (patch)
tree7c5d328b41e64c3e78ac89c9674747346233c87a /tests/mocks/MockCompiler.php
parent47c9d580c6e799e72b6a70b22dd5107790b1d3e9 (diff)
Remove KeyValue objectHEADmaster
Diffstat (limited to 'tests/mocks/MockCompiler.php')
-rw-r--r--tests/mocks/MockCompiler.php11
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