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   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 5 1
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