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 — rewrite ( 851f9e...241c32 )
by Peter
03:37
created

Factory::meta()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Poniverse\Lib\Service\Poniverse;
4
5
use Poniverse\Lib\Client;
6
7
class Factory
8
{
9
    /**
10
     * @var Client
11
     */
12
    private $client;
13
14
    public function __construct(Client $client)
15
    {
16
        $this->client = $client;
17
    }
18
19
    /**
20
     * Returns the user service.
21
     *
22
     * @return User
23
     */
24
    public function users()
25
    {
26
        return new User($this->client);
27
    }
28
29
    /**
30
     * Returns the access token service.
31
     *
32
     * @return Meta
33
     */
34
    public function meta() {
35
        return new Meta($this->client);
36
    }
37
}
38