Passed
Push — main ( 60225c...3222f2 )
by Thierry
02:16
created

BadgeElement::type()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Lagdo\UiBuilder\Element\Html;
4
5
use Lagdo\UiBuilder\Builder\Html\Element;
6
use Lagdo\UiBuilder\Element\BadgeInterface;
7
8
class BadgeElement extends Element implements BadgeInterface
9
{
10
    /**
11
     * @var string
12
     */
13
    public static string $tag = 'span';
14
15
    /**
16
     * @return static
17
     */
18
    public function top(): static
19
    {
20
        return $this;
21
    }
22
23
    /**
24
     * @param string $type
25
     *
26
     * @return static
27
     */
28
    public function type(string $type): static
29
    {
30
        return $this;
31
    }
32
33
    /**
34
     * @param string $rounded
35
     *
36
     * @return static
37
     */
38
    public function rounded(string $rounded): static
39
    {
40
        return $this;
41
    }
42
43
    /**
44
     * @param string $border
45
     *
46
     * @return static
47
     */
48
    public function border(string $border): static
49
    {
50
        return $this;
51
    }
52
}
53