Quellcode durchsuchen

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 vor 10 Jahren
Ursprung
Commit
fa3ea2a626
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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':