Passed
Push — master ( 4e3362...b853b0 )
by Alexander
03:12
created
actions/VoteAction.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -124,9 +124,9 @@
 block discarded – undo
124 124
     /**
125 125
      * Creates new vote entry and returns response data.
126 126
      *
127
-     * @param $entity
128
-     * @param $targetId
129
-     * @param $value
127
+     * @param integer $entity
128
+     * @param integer $targetId
129
+     * @param integer $value
130 130
      * @return array
131 131
      */
132 132
     protected function createVote($entity, $targetId, $value)
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace hauntd\vote\actions;
4 4
 
5
+use Yii;
6
+use hauntd\vote\Module;
5 7
 use hauntd\vote\models\Vote;
6 8
 use hauntd\vote\models\VoteAggregate;
7 9
 use hauntd\vote\models\VoteForm;
8
-use hauntd\vote\Module;
9 10
 use hauntd\vote\traits\ModuleTrait;
10
-use Yii;
11 11
 use yii\base\Action;
12 12
 use yii\web\MethodNotAllowedHttpException;
13 13
 use yii\web\Response;
Please login to merge, or discard this patch.
models/VoteForm.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 namespace hauntd\vote\models;
4 4
 
5 5
 use Yii;
6
-use yii\base\Model;
7
-use hauntd\vote\traits\ModuleTrait;
8 6
 use hauntd\vote\Module;
7
+use hauntd\vote\traits\ModuleTrait;
8
+use yii\base\Model;
9 9
 
10 10
 /**
11 11
  * @author Alexander Kononenko <[email protected]>
Please login to merge, or discard this patch.
widgets/BaseWidget.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace hauntd\vote\widgets;
4 4
 
5
+use Yii;
5 6
 use hauntd\vote\assets\VoteAsset;
6 7
 use hauntd\vote\models\VoteAggregate;
7 8
 use hauntd\vote\traits\ModuleTrait;
8 9
 use yii\base\InvalidParamException;
9 10
 use yii\base\Widget;
10
-use Yii;
11 11
 
12 12
 /**
13 13
  * @author Alexander Kononenko <[email protected]>
Please login to merge, or discard this patch.