Browse Source

Revert "Fixes a bug for empty strings."

This reverts commit 75ae3414fa329f3275ce862d72e5c7b61b9cc98b.
thinkingmedia 9 years ago
parent
commit
9520f5912a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Shell/Helper/TableHelper.php

+ 1 - 1
src/Shell/Helper/TableHelper.php

@@ -45,7 +45,7 @@ class TableHelper extends Helper
         foreach ($rows as $line) {
             foreach ($line as $k => $v) {
                 $columnLength = mb_strwidth($line[$k]);
-                if ($columnLength >= (isset($widths[$k]) ? $widths[$k] : 0)) {
+                if ($columnLength > (isset($widths[$k]) ? $widths[$k] : 0)) {
                     $widths[$k] = $columnLength;
                 }
             }