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 — master ( 304b32...b08880 )
by Lukáš
11s
created

GetReceivedInvoices::getModelClass()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Fousky\Component\iDoklad\Functions\ReceivedInvoices;
4
5
use Fousky\Component\iDoklad\Functions\iDokladAbstractFunction;
6
use Fousky\Component\iDoklad\Model\ReceivedInvoices\ReceivedInvoiceApiCollectionModel;
7
8
/**
9
 * @see https://app.idoklad.cz/developer/Help/v2/cs/Api?apiId=GET-api-v2-ReceivedInvoices
10
 *
11
 * @author Jan Gula
12
 */
13
class GetReceivedInvoices extends iDokladAbstractFunction
14
{
15
    /**
16
     * Get iDokladModelInterface class.
17
     *
18
     * @see iDokladModelInterface
19
     *
20
     * @return string
21
     */
22
    public function getModelClass(): string
23
    {
24
        return ReceivedInvoiceApiCollectionModel::class;
25
    }
26
27
    /**
28
     * GET|POST|PUT|DELETE e.g.
29
     *
30
     * @see iDoklad::request()
31
     *
32
     * @return string
33
     */
34
    public function getHttpMethod(): string
35
    {
36
        return 'GET';
37
    }
38
39
    /**
40
     * Return base URI, e.g. /invoices; /invoice/1/edit and so on.
41
     *
42
     * @see iDoklad::call()
43
     *
44
     * @return string
45
     */
46
    public function getUri(): string
47
    {
48
        return 'ReceivedInvoices';
49
    }
50
51
    /**
52
     * Return list of arguments for GuzzleHttp\Client.
53
     *
54
     * @see \GuzzleHttp\Client::request()
55
     * @see iDoklad::call()
56
     *
57
     * @return array
58
     */
59
    public function getGuzzleOptions(): array
60
    {
61
        return [];
62
    }
63
}
64