SettingsController::actions()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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