Skip to content

Commit 9ec94d3

Browse files
authored
Fix Valinor converter signature to match new rule (#1028)
1 parent 32e65c0 commit 9ec94d3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"beste/clock": "^3.0",
3232
"beste/in-memory-cache": "^1.3.1",
3333
"beste/json": "^1.5.1",
34-
"cuyz/valinor": "^2.0",
34+
"cuyz/valinor": "^2.2.1",
3535
"fig/http-message-util": "^1.1.5",
3636
"firebase/php-jwt": "^6.10.2",
3737
"google/auth": "^v1.45",

src/Firebase/Valinor/Converter/SnakeCaseToCamelCaseConverter.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
*/
1414
final class SnakeCaseToCamelCaseConverter
1515
{
16+
/**
17+
* @template T of object
18+
* @param array<mixed> $value
19+
* @param callable(array<mixed>): T $next
20+
* @return T
21+
*/
1622
public function __invoke(mixed $values, callable $next): object
1723
{
1824
if ($values instanceof Traversable) {

0 commit comments

Comments
 (0)