Completed
Push — feature/scrutinizer ( e92f90...e0f777 )
by Tobias
03:15
created
src/modules/prototype/controllers/api/LessController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
                     'rules' => [
27 27
                         [
28 28
                             'allow' => true,
29
-                            'matchCallback' => function ($rule, $action) {
29
+                            'matchCallback' => function($rule, $action) {
30 30
                                 return \Yii::$app->user->can(
31 31
                                     $this->module->id.'_'.$this->id.'_'.$action->id,
32 32
                                     ['route' => true]
Please login to merge, or discard this patch.
src/modules/prototype/views/less/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
 
86 86
                     [
87 87
                         'class' => 'yii\grid\ActionColumn',
88
-                        'urlCreator' => function ($action, $model, $key, $index) {
88
+                        'urlCreator' => function($action, $model, $key, $index) {
89 89
                             // using the column name as key, not mapping to 'id' like the standard generator
90 90
                             $params = is_array($key) ? $key : [$model->primaryKey()[0] => (string)$key];
91 91
                             $params[0] = \Yii::$app->controller->id ? \Yii::$app->controller->id.'/'.$action : $action;
Please login to merge, or discard this patch.