Completed
Push — master ( 1b93d5...1e6c6a )
by Greg
8s
created
src/Transformations/WordWrapper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -260,7 +260,7 @@
 block discarded – undo
260 260
     protected static function longestWordLength($str)
261 261
     {
262 262
         $words = preg_split('/[ -]/', $str);
263
-        $lengths = array_map(function ($s) {
263
+        $lengths = array_map(function($s) {
264 264
             return strlen($s);
265 265
         }, $words);
266 266
         return max($lengths);
Please login to merge, or discard this patch.
src/Formatters/TableFormatter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@
 block discarded – undo
102 102
         $wrapper = new WordWrapper($options->get(FormatterOptions::TERMINAL_WIDTH));
103 103
         $wrapper->setPaddingFromStyle($tableStyle);
104 104
         if (!empty($headers)) {
105
-            $headerLengths = array_map(function ($item) {
105
+            $headerLengths = array_map(function($item) {
106 106
                 return strlen($item);
107 107
             }, $headers);
108 108
             $wrapper->setMinimumWidths($headerLengths);
Please login to merge, or discard this patch.