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.
Completed
Push — 3.0 ( 5276e1...94e02b )
by Vermeulen
01:25
created

Request   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 34
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getRequest() 0 3 1
A __construct() 0 4 1
A __invoke() 0 3 1
1
<?php
2
3
namespace BFW\Core\AppSystems;
4
5
class Request extends AbstractSystem
6
{
7
    /**
8
     * @var \BFW\Request $request
9
     */
10
    protected $request;
11
    
12
    /**
13
     * Initialize the Request system and run the detection of all items
14
     */
15
    public function __construct()
16
    {
17
        $this->request = \BFW\Request::getInstance();
18
        $this->request->runDetect();
19
    }
20
    
21
    /**
22
     * {@inheritdoc}
23
     * 
24
     * @return \BFW\Request
25
     */
26
    public function __invoke()
27
    {
28
        return $this->request;
29
    }
30
31
    /**
32
     * Getter accessor to request property
33
     * 
34
     * @return \BFW\Request
35
     */
36
    public function getRequest()
37
    {
38
        return $this->request;
39
    }
40
}
41