TagStub::setName()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Beelab\TagBundle\Tests;
4
5
use Beelab\TagBundle\Tag\TagInterface;
6
7
/**
8
 * A stub of a Tag class.
9
 */
10
class TagStub implements TagInterface
11
{
12
    public function setName(?string $name): void
13
    {
14
    }
15
16
    public function getName(): ?string
17
    {
18
        return 'a name';
19
    }
20
21
    public function getTags(): ?string
22
    {
23
        return 'a name';
24
    }
25
}
26