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
Fri, Dec 20, 07:04 (20 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2307753
Default Alt Text
D2536.diff (592 B)

Event Timeline