Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3750879
D2536.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
592 B
Referenced Files
None
Subscribers
None
D2536.id.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 04:23 (20 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2250229
Default Alt Text
D2536.id.diff (592 B)
Attached To
Mode
D2536: Simplify maxPropertyLength computation
Attached
Detach File
Event Timeline
Log In to Comment