diff --git a/src/Context.php b/src/Context.php index b473341..6e4cacf 100644 --- a/src/Context.php +++ b/src/Context.php @@ -46,7 +46,9 @@ public function __destruct() /** * @psalm-template T + * * @psalm-param T $value + * * @param-out T $value */ public function add(object|array &$value): int|string|false @@ -60,7 +62,9 @@ public function add(object|array &$value): int|string|false /** * @psalm-template T + * * @psalm-param T $value + * * @param-out T $value */ public function contains(object|array &$value): int|string|false diff --git a/tests/ContextTest.php b/tests/ContextTest.php index af77ae0..21881b6 100644 --- a/tests/ContextTest.php +++ b/tests/ContextTest.php @@ -90,6 +90,7 @@ public function testAdd2(): void /** * @depends testAdd + * * @dataProvider valuesProvider */ public function testContainsFound($value, $key): void