瀏覽代碼

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':