Skip to content

Commit

Permalink
IBX-6640: Fixed infinite loop when Normalizer returns an object
Browse files Browse the repository at this point in the history
  • Loading branch information
Steveb-p committed Sep 26, 2023
1 parent 094073f commit 56a9d08
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/Output/Generator/Json/FieldTypeHashGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ private function generateObjectValue($parent, object $value)
$value = null;
}

return $this->generateValue($parent, $value);
if (is_array($value)) {
return $this->generateArrayValue($parent, $value);
}

return $value;
}
}

Expand Down

0 comments on commit 56a9d08

Please sign in to comment.