Passed
Push — master ( 8f397a...22cb0c )
by
unknown
02:48
created
src/grid/ActionColumn.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -36,11 +36,9 @@
 block discarded – undo
36 36
 
37 37
         if(!$this->controller && !$this->action){
38 38
             $this->action = "{action}";
39
-        }
40
-        else if ($this->controller && !$this->action){
39
+        } else if ($this->controller && !$this->action){
41 40
             $this->action = "{controller}/{action}";
42
-        }
43
-        else if (!$this->controller && $this->action) {
41
+        } else if (!$this->controller && $this->action) {
44 42
             $this->controller = Yii::$app->controller->id;
45 43
         }
46 44
     }
Please login to merge, or discard this patch.