Completed
Push — master ( b93a9c...e7c2e1 )
by Alexey
05:14
created

SitemapController::indexAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 2
b 0
f 0
1
<?php
2
3
/**
4
 * Sitemap controller
5
 *
6
 * @author Alexey Krupskiy <[email protected]>
7
 * @link http://inji.ru/
8
 * @copyright 2016 Alexey Krupskiy
9
 * @license https://github.com/injitools/cms-Inji/blob/master/LICENSE
10
 */
11
class SitemapController extends Controller
12
{
13
    function indexAction()
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
14
    {
15
        var_dump($this->module->scanModules());
0 ignored issues
show
Security Debugging Code introduced by
var_dump($this->module->scanModules()); looks like debug code. Are you sure you do not want to remove it? This might expose sensitive data.
Loading history...
16
    }
17
18
}
19