Completed
Pull Request — master (#55)
by Greg
02:19
created
src/Transformations/Wrap/DataCellWidths.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     {
167 167
         return array_reduce(
168 168
             $widths,
169
-            function ($carry, $item) {
169
+            function($carry, $item) {
170 170
                 return $carry + $item;
171 171
             }
172 172
         );
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
     protected static function longestWordLength($str)
181 181
     {
182 182
         $words = preg_split('#[ /-]#', $str);
183
-        $lengths = array_map(function ($s) {
183
+        $lengths = array_map(function($s) {
184 184
             return strlen($s);
185 185
         }, $words);
186 186
         return max($lengths);
Please login to merge, or discard this patch.