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

ArticleQuery   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getClass() 0 4 1
A getQueryPath() 0 4 1
1
<?php
2
3
namespace LeadCommerce\Shopware\SDK\Query;
4
5
/**
6
 * Class ArticleQuery
7
 *
8
 * @author Alexander Mahrt <[email protected]>
9
 * @copyright 2016 LeadCommerce <[email protected]>
10
 */
11
class ArticleQuery extends Base
12
{
13
    /**
14
     * @return mixed
15
     */
16 5
    protected function getClass()
17
    {
18 5
        return 'LeadCommerce\\Shopware\\SDK\\Entity\\Article';
19
    }
20
21
    /**
22
     * @return string
23
     */
24 7
    protected function getQueryPath()
25
    {
26 7
        return 'articles';
27
    }
28
}
29