Passed
Push — main ( 3d6de0...a0d988 )
by Daniel
03:41
created

FavoriteManager::add()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
dl 0
loc 5
ccs 2
cts 2
cp 1
rs 10
c 1
b 0
f 1
cc 1
nc 1
nop 2
crap 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Uxmp\Core\Component\Favorite;
6
7
final class FavoriteManager implements FavoriteManagerInterface
8
{
9 1
    public function add(
10
        FavoriteAbleInterface $obj,
11
        int $userId
12
    ): bool {
13 1
        return false;
14
    }
15
16 1
    public function remove(
17
        FavoriteAbleInterface $obj,
18
        int $userId
19
    ): bool {
20 1
        return false;
21
    }
22
}
23