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.
Passed
Pull Request — master (#7)
by Alexander
49:36 queued 24:33
created

GenerateArticleImagesQuery   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 2
c 2
b 1
f 0
lcom 0
cbo 1
dl 0
loc 30
ccs 0
cts 8
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getClass() 0 4 1
A getQueryPath() 0 4 1
1
<?php
2
/**
3
 * LeadCommerce\Shopware\SDK\Query
4
 *
5
 * Copyright 2016 LeadCommerce
6
 *
7
 * @author Alexander Mahrt <[email protected]>
8
 * @copyright 2016 LeadCommerce <[email protected]>
9
 */
10
namespace LeadCommerce\Shopware\SDK\Query;
11
12
use LeadCommerce\Shopware\SDK\Util\Constants;
13
14
class GenerateArticleImagesQuery extends Base
15
{
16
    /**
17
     * @var array
18
     */
19
    protected $methodsAllowed = [
20
        Constants::METHOD_UPDATE,
21
    ];
22
23
    /**
24
     * Gets the class for the entities.
25
     *
26
     * @return string
27
     */
28
    protected function getClass()
29
    {
30
        return 'stdClass';
31
    }
32
33
    /**
34
     * Gets the query path to look for entities.
35
     * E.G: 'variants' or 'articles'
36
     *
37
     * @return string
38
     */
39
    protected function getQueryPath()
40
    {
41
        return 'generateArticleImages';
42
    }
43
}
44