From 34679d297803b07dd1f3925d89af17bc4c691d3e Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Fri, 20 Nov 2015 23:37:30 +0100 Subject: [PATCH] Fix stats columns titles --- src/Gist/Command/StatsCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, );