Passed
Push — main ( cdf0be...8709cd )
by Daniel
04:52
created

FavoritesApplication::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 0
c 1
b 0
f 0
dl 0
loc 2
ccs 1
cts 1
cp 1
rs 10
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Uxmp\Core\Api\User;
6
7
use Psr\Http\Message\ResponseInterface;
8
use Psr\Http\Message\ServerRequestInterface;
9
use Uxmp\Core\Api\AbstractApiApplication;
10
11
final class FavoritesApplication extends AbstractApiApplication
12
{
13 1
    public function __construct(
14
    ) {
15 1
    }
16
17 1
    protected function run(
18
        ServerRequestInterface $request,
19
        ResponseInterface $response,
20
        array $args
21
    ): ResponseInterface {
22 1
        return $this->asJson(
23 1
            $response,
24
            [
25 1
                'albums' => [],
26
                'songs' => [],
27
                'artists' => [],
28
            ]
29
        );
30
    }
31
}
32