Passed
Push — master ( 087cc0...37fbce )
by Mihail
04:19
created

Comments::actionIndex()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Apps\Controller\Admin;
4
5
6
use Extend\Core\Arch\AdminController;
7
use Ffcms\Core\App;
8
9
/**
10
 * Class Comments - manage user comments.
11
 * This class provide general admin implementation of control for user comments and its settings.
12
 * @package Apps\Controller\Admin
13
 */
14
class Comments extends AdminController
15
{
16
    const VERSION = 0.1;
17
    public $type = 'widget';
18
19
    public function actionIndex()
20
    {
21
        return App::$View->render('index', [
22
23
        ]);
24
    }
25
26
27
28
29
}