Skip to content

Commit

Permalink
Improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Feb 19, 2019
1 parent 1b52772 commit 69a9481
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Data/Txt.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ protected static function encodeValue($value): string
// avoid problems with arrays
if (is_array($value) === true) {
$value = Yaml::encode($value);
// avoid problems with localized floats
} elseif (is_float($value) === true) {
$value = Str::float($value);
}
Expand Down

0 comments on commit 69a9481

Please sign in to comment.