SettingsController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A actions() 0 6 1
1
<?php
2
3
namespace app\modules\admin\controllers;
4
5
use yii\web\Controller;
6
7
/**
8
 * Class SettingController
9
 *
10
 * @package app\modules\admin\controllers
11
 */
12
class SettingsController extends Controller
13
{
14
    /**
15
     * @return array
16
     */
17
    public function actions(): array
18
    {
19
        return [
20
            'cron' => 'yii2mod\cron\actions\CronLogAction',
21
        ];
22
    }
23
}
24