Bingqing Wang 5 년 전
부모
커밋
46db638678
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/Composer/Command/LicensesCommand.php

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

@@ -77,10 +77,10 @@ EOT
                 $table = new Table($output);
                 $table->setStyle('compact');
                 $tableStyle = $table->getStyle();
-                if (method_exists($rendererStyle, 'setVerticalBorderChars')) {
-                    $rendererStyle->setVerticalBorderChars('');
+                if (method_exists($tableStyle, 'setVerticalBorderChars')) {
+                    $tableStyle->setVerticalBorderChars('');
                 } else {
-                    $rendererStyle->setVerticalBorderChar('');
+                    $tableStyle->setVerticalBorderChar('');
                 }
                 $tableStyle->setCellRowContentFormat('%s  ');
                 $table->setHeaders(array('Name', 'Version', 'License'));