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

FavoriteManager   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
eloc 3
dl 0
loc 14
ccs 4
cts 4
cp 1
rs 10
c 1
b 0
f 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A add() 0 5 1
A remove() 0 5 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