Completed
Push — master ( ccaecc...4b037e )
by Marco Da
02:57
created
components/Repository.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,7 @@  discard block
 block discarded – undo
104 104
 
105 105
 	/**
106 106
 	 * Lists commit objects in reverse chronological order
107
+	 * @param integer $max_count
107 108
 	 */
108 109
 	public function getRevList($start = 'HEAD', $skip = 0, $max_count = null) {
109 110
 		$cmd = "rev-list ";
@@ -125,6 +126,7 @@  discard block
 block discarded – undo
125 126
 
126 127
 	/**
127 128
 	 * Obtiene la informacion detallada de un commit
129
+	 * @param string $repository
128 130
 	 */
129 131
 	public function getRevListHashDetail($hash = 'HEAD', $repository = null) {
130 132
 		$pattern = '/^(author|committer) ([^<]+) <([^>]*)> ([0-9]+) (.*)$/';
@@ -266,6 +268,7 @@  discard block
 block discarded – undo
266 268
 
267 269
 	/**
268 270
 	 * Obtiene las referencias a partir de un hash en formato html
271
+	 * @param string $hash
269 272
 	 */
270 273
 	public function getNameRev($hash) {
271 274
 		$output = $this->run_git("show-ref -d | grep $hash");
Please login to merge, or discard this patch.
controllers/DefaultController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace markmarco16\git\controllers;
4 4
 
5
-use Yii;
6 5
 use yii\web\Controller;
7 6
 use yii\data\ArrayDataProvider;
8 7
 use markmarco16\git\components\Repository;
Please login to merge, or discard this patch.
views/default/_files.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-use yii\helpers\Html;
4 3
 use yii\grid\GridView;
5 4
 ?>
6 5
 
Please login to merge, or discard this patch.