GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Index::index()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace App\Controllers;
4
5
use FFMVC\Helpers as Helpers;
6
7
/**
8
 * Index Controller Class.
9
 *
10
 * @author Vijay Mahrra <[email protected]>
11
 * @copyright (c) Copyright 2015 Vijay Mahrra
12
 * @license GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
13
 */
14
class Index extends Base
15
{
16
    /**
17
     * Main homepage controller
18
     *
19
     * @alias home - f3 route alias
20
     * @param \Base $f3
21
     * @param array $params
22
     * @return void
23
     */
24
    public function index(\Base $f3, array $params = [])
25
    {
26
        Helpers\Notifications::instance()->add('Hello world!', 'success');
27
        echo \View::instance()->render('index/index.phtml');
28
    }
29
}
30