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

Comments   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 1
c 2
b 1
f 0
lcom 0
cbo 3
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A actionIndex() 0 6 1
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
}