diff --git a/src/Gist/Command/StatsCommand.php b/src/Gist/Command/StatsCommand.php index 4cd12b3..9e013c6 100644 --- a/src/Gist/Command/StatsCommand.php +++ b/src/Gist/Command/StatsCommand.php @@ -59,7 +59,7 @@ EOF $table = new Table($output); $table - ->setHeaders(array('With encryption', 'Without encryption', 'Commits', 'Total')) + ->setHeaders(array('Without encryption', 'With encryption', 'Commits', 'Total')) ->setRows(array( array( $total - $v = array_sum($withEncryption), @@ -79,8 +79,8 @@ EOF $table->setHeaders(array( 'Type', - 'With encryption', 'Without encryption', + 'With encryption', 'Commits', 'Total', )); @@ -93,8 +93,8 @@ EOF $rows[] = array( $lang, - $totalWithEncryption, $totalWithoutEncyption, + $totalWithEncryption, $commits[$lang], $total, );