Completed
Push — master ( 5ebda0...7f3442 )
by Andrii
12:49
created
src/frontend/controllers/SiteController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Yii;
19 19
 use yii\base\InvalidParamException;
20 20
 use yii\filters\AccessControl;
21
-use yii\filters\VerbFilter;
22 21
 use yii\web\BadRequestHttpException;
23 22
 use yii\web\Controller;
24 23
 
Please login to merge, or discard this patch.
src/grid/CurrencyColumn.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -35,11 +35,18 @@
 block discarded – undo
35 35
 
36 36
     public $urlCallback;
37 37
 
38
+    /**
39
+     * @param string $type
40
+     */
38 41
     public function getColor($type)
39 42
     {
40 43
         return $this->colors[$type] ?: $type;
41 44
     }
42 45
 
46
+    /**
47
+     * @param Model $model
48
+     * @param integer $index
49
+     */
43 50
     public function getUrl($model, $key, $index)
44 51
     {
45 52
         return $this->urlCallback ? call_user_func($this->urlCallback, $model, $key, $index) : null;
Please login to merge, or discard this patch.
src/widgets/BulkButtons.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use yii\base\Widget;
15 15
 use yii\helpers\Html;
16
-use yii\helpers\Json;
17 16
 
18 17
 class BulkButtons extends Widget
19 18
 {
Please login to merge, or discard this patch.
src/widgets/Gravatar.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@
 block discarded – undo
34 34
         return $this->_emailHash;
35 35
     }
36 36
 
37
+    /**
38
+     * @param string $email
39
+     */
37 40
     public static function hashEmail($email)
38 41
     {
39 42
         $email = strtolower(trim($email));
Please login to merge, or discard this patch.
src/widgets/Select2.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use yii\helpers\ArrayHelper;
17 17
 use yii\helpers\Html;
18 18
 use yii\helpers\Json;
19
-use yii\helpers\Url;
20 19
 use yii\web\JsExpression;
21 20
 
22 21
 class Select2 extends Widget
Please login to merge, or discard this patch.
src/widgets/IndexPage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -50,6 +50,9 @@
 block discarded – undo
50 50
         return $this->render($this->getOrientationStorage());
51 51
     }
52 52
 
53
+    /**
54
+     * @return string
55
+     */
53 56
     public function getOrientationStorage()
54 57
     {
55 58
         return OrientationStorage::instantiate()->get(Yii::$app->controller->getRoute());
Please login to merge, or discard this patch.