Completed
Push — master ( 888ce0...dfbe13 )
by Alexey
18s queued 11s
created

SiteController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 1
b 0
f 0
dl 0
loc 10
rs 10

1 Method

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