Passed
Push — develop ( f53d0b...3a55e6 )
by Jens
09:08
created

SubscriptionsEndpoint   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A endpoint() 0 3 1
1
<?php
2
/**
3
 * @author @jenschude <[email protected]>
4
 */
5
6
namespace Commercetools\Core\Request\Subscriptions;
7
8
use Commercetools\Core\Client\JsonEndpoint;
9
10
class SubscriptionsEndpoint
11
{
12
    /**
13
     * @return JsonEndpoint
14
     */
15 24
    public static function endpoint()
16
    {
17 24
        return new JsonEndpoint('subscriptions');
18
    }
19
}
20