Преглед изворни кода

remove unused method argument

Unlike the `TableHelper`, the `render()` method of the `Table` class
does not make use of an `$output` argument. The actual `OutputInterface`
to send the table to is passed in the constructor instead.
Christian Flothmann пре 10 година
родитељ
комит
fa3ea2a626
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Composer/Command/LicensesCommand.php

+ 1 - 1
src/Composer/Command/LicensesCommand.php

@@ -83,7 +83,7 @@ EOT
                         implode(', ', $package->getLicense()) ?: 'none',
                     ));
                 }
-                $table->render($output);
+                $table->render();
                 break;
 
             case 'json':