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) {
92
+            $data = array_map(function($item) {
93 93
                 array_splice($item, 1, 0, ':');
94 94
                 return $item;
95 95
             }, $data);
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
         $wrapper = new WordWrapper($options->get(FormatterOptions::TERMINAL_WIDTH));
117 117
         $wrapper->setPaddingFromStyle($tableStyle);
118 118
         if (!empty($headers)) {
119
-            $headerLengths = array_map(function ($item) {
119
+            $headerLengths = array_map(function($item) {
120 120
                 return strlen($item);
121 121
             }, $headers);
122 122
             $wrapper->setMinimumWidths($headerLengths);
Please login to merge, or discard this patch.