Page MenuHomeDevCentral

D2536.diff
No OneTemporary

D2536.diff

diff --git a/src/Output/MarkdownOutput.php b/src/Output/MarkdownOutput.php
--- a/src/Output/MarkdownOutput.php
+++ b/src/Output/MarkdownOutput.php
@@ -31,9 +31,7 @@
$propertyMaxLength = max($propertyMaxLength, strlen($key));
$maxValue = max($maxValue, strlen($value));
}
- if ($propertyMaxLength < 8) {
- $propertyMaxLength = 8;
- }
+ $propertyMaxLength = max(8, $propertyMaxLength);
$send[] = '| Property' . str_repeat(' ', $propertyMaxLength - 8) . ' | '
. str_repeat(' ', $maxValue) . ' |';

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 30, 06:35 (20 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2165810
Default Alt Text
D2536.diff (592 B)

Event Timeline