DummyDriverLinker::link()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
nc 1
nop 1
dl 0
loc 2
rs 10
c 1
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace AlecRabbit\Spinner\Core;
6
7
use AlecRabbit\Spinner\Contract\ISubject;
8
use AlecRabbit\Spinner\Core\Contract\IDriver;
9
use AlecRabbit\Spinner\Core\Contract\IDriverLinker;
10
11
/**
12
 * @codeCoverageIgnore
13
 */
14
final class DummyDriverLinker implements IDriverLinker
15
{
16
    public function link(IDriver $driver): void
17
    {
18
        // do nothing
19
    }
20
21
    public function update(ISubject $subject): void
22
    {
23
        // do nothing
24
    }
25
}
26