Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
therouv committed Aug 17, 2022
2 parents e2c4fc2 + 8d5f745 commit 3403f07
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Model/File/Writer/YamlWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ private function getIndentation($length, $string = ' ')
*/
private function prepareValue($value)
{
if ($value === null) {
return '';
}

if (is_numeric($value)) {
return $value;
}
Expand Down

0 comments on commit 3403f07

Please sign in to comment.