Skip to content

Commit

Permalink
up: update indent space for list data format
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed May 12, 2022
1 parent b57d62f commit 59d0b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Util/FormatUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ public static function arr2str(array $arr): string
$val = is_scalar($val) ? (string)$val : JsonHelper::unescaped($val);
}

$temp .= (!is_numeric($k) ? " $k: " : '') . "$val,\n";
$temp .= (!is_numeric($k) ? " $k: " : ' ') . "$val,\n";
}

$temp .= " ]";
Expand Down

0 comments on commit 59d0b61

Please sign in to comment.