Skip to content

Commit

Permalink
Fixed float conversion issue in YAML tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ezimuel committed Sep 22, 2022
1 parent 4b2f5e3 commit e1ed999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/YamlTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ public static function render(string $fileName, array $params = []): string
} elseif ($value instanceof \stdClass) {
$value = 'new \stdClass';
} elseif (is_numeric($value)) {
$value = (string) $value;
$value = var_export($value, true);
}
$output = str_replace($name, $value, $output);
}
Expand Down

0 comments on commit e1ed999

Please sign in to comment.