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.

Offline   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 3
c 2
b 0
f 0
dl 0
loc 19
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 3 1
1
<?php
2
/**
3
 * This file is part of the O2System Reactor package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 *
8
 * @author         Steeve Andrian Salim
9
 * @copyright      Copyright (c) Steeve Andrian Salim
10
 */
11
// ------------------------------------------------------------------------
12
13
namespace O2System\Reactor\Http\Controllers;
14
15
// ------------------------------------------------------------------------
16
17
use O2System\Reactor\Http\Controllers\Restful as Controller;
18
19
/**
20
 * Class Offline
21
 * @package O2System\Reactor\Http\Controllers
22
 */
23
class Offline extends Controller
24
{
25
    /**
26
     * Offline::$inherited
27
     *
28
     * Controller inherited flag.
29
     *
30
     * @var bool
31
     */
32
    static public $inherited = true;
33
34
    // ------------------------------------------------------------------------
35
36
    /**
37
     * Offline::index
38
     */
39
    public function index()
40
    {
41
        $this->sendError(503, language('OFFLINE_MESSAGE'));
42
    }
43
}