We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 037a52b + 282a78d commit 8427233Copy full SHA for 8427233
1 file changed
lib/Log/Formatter.php
@@ -51,7 +51,7 @@ private function formatTraceLine(int $index, array $trace, int $largestIndexWidt
51
52
$argumentsString = implode(', ', $arguments);
53
$argumentWhiteSpace = str_repeat(' ', $largestIndexWidth + 2);
54
- if ($argumentsString && strlen($argumentsString) < $argumentWidth) {
+ if ($argumentsString === '' || strlen($argumentsString) < $argumentWidth) {
55
return $whiteSpace . $index . '. ' . $this->getFileAndLine($trace, $argumentWidth) . "\n" .
56
$argumentWhiteSpace . $method . '(' .
57
$argumentsString . ')';
0 commit comments