Completed
Push — master ( ff5b0d...faa513 )
by Tobias
05:10 queued 02:50
created

Norm   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 6 1
1
<?php
2
3
namespace Happyr\ApiClient\Api;
4
5
use Happyr\ApiClient\Model\Norm\Index;
6
use Psr\Http\Message\ResponseInterface;
7
8
/**
9
 * @author Tobias Nyholm <[email protected]>
10
 */
11
final class Norm extends HttpApi
12
{
13
    /**
14
     * @return Index|ResponseInterface
15
     */
16
    public function index()
17
    {
18
        $response = $this->httpGet('/api/norms');
19
20
        return $this->hydrateResponse($response, Index::class);
21
    }
22
}
23