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.

Authenticate   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A authenticate() 0 4 1
1
<?php  namespace Rossedman\Teamwork;
2
3
class Authenticate extends AbstractObject {
4
5
    protected $url = "https://authenticate.teamworkpm.net/authenticate.json";
6
7
    /**
8
     * Authenticate Details
9
     * GET https://authenticate.teamworkpm.net/authenticate.json
10
     *
11
     * @link http://developer.teamwork.com/account#the_'authenti
12
     * @return mixed
13
     */
14
    public function authenticate()
0 ignored issues
show
Coding Style Best Practice introduced by
Please use __construct() instead of a PHP4-style constructor that is named after the class.
Loading history...
15
    {
16
        return $this->client->get($this->url)->response();
17
    }
18
}