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.

Api   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 4
dl 0
loc 34
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A alert() 0 4 1
A checkout() 0 4 1
A product() 0 4 1
A subscription() 0 4 1
1
<?php
2
3
namespace ProtoneMedia\LaravelPaddle\Api;
4
5
class Api
6
{
7
    /**
8
     * @return \ProtoneMedia\LaravelPaddle\Api\Alert
9
     */
10
    public function alert()
11
    {
12
        return new Alert;
13
    }
14
15
    /**
16
     * @return \ProtoneMedia\LaravelPaddle\Api\Checkout
17
     */
18
    public function checkout()
19
    {
20
        return new Checkout;
21
    }
22
23
    /**
24
     * @return \ProtoneMedia\LaravelPaddle\Api\Product
25
     */
26
    public function product()
27
    {
28
        return new Product;
29
    }
30
31
    /**
32
     * @return \ProtoneMedia\LaravelPaddle\Api\Subscription
33
     */
34
    public function subscription()
35
    {
36
        return new Subscription;
37
    }
38
}
39