Skip to content

Commit 53eb761

Browse files
committed
Fixed inifite loop #65
1 parent e614df3 commit 53eb761

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Formatter/Specialised/HttpOGMArrayTranslator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ private function translateCypherList(array $value): CypherList
8181
// We need to use JOLT instead for finer control,
8282
// which will be a different translator.
8383
if (is_array($x)) {
84-
$tbr->push($this->translateContainer($value));
84+
/** @var array<array-key, array|null|scalar> $x */
85+
$tbr->push($this->translateContainer($x));
8586
} else {
8687
$tbr->push($x);
8788
}

0 commit comments

Comments
 (0)