@@ -26,7 +26,7 @@ |
||
| 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] |
@@ -26,7 +26,7 @@ |
||
| 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] |