Completed
Pull Request — master (#46)
by Greg
01:58
created
src/Formatters/TableFormatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
             if (!empty($headers)) {
90 90
                 array_splice($headers, 1, 0, ':');
91 91
             }
92
-            $data = array_map(function ($item) { array_splice($item, 1, 0, ':'); return $item; }, $data);
92
+            $data = array_map(function($item) { array_splice($item, 1, 0, ':'); return $item; }, $data);
93 93
         }
94 94
 
95 95
         if ($includeHeaders && !$isList) {
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
113 113
         $wrapper = new WordWrapper($options->get(FormatterOptions::TERMINAL_WIDTH));
114 114
         $wrapper->setPaddingFromStyle($tableStyle);
115 115
         if (!empty($headers)) {
116
-            $headerLengths = array_map(function ($item) {
116
+            $headerLengths = array_map(function($item) {
117 117
                 return strlen($item);
118 118
             }, $headers);
119 119
             $wrapper->setMinimumWidths($headerLengths);
Please login to merge, or discard this patch.