Passed
Push — main ( 7f60ea...60225c )
by Thierry
08:29
created

DropdownItemElement   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
c 1
b 0
f 0
dl 0
loc 15
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A style() 0 3 1
1
<?php
2
3
namespace Lagdo\UiBuilder\Element\Html;
4
5
use Lagdo\UiBuilder\Builder\Html\Element;
6
use Lagdo\UiBuilder\Element\DropdownItemInterface;
7
8
class DropdownItemElement extends Element implements DropdownItemInterface
9
{
10
    /**
11
     * @var string
12
     */
13
    public static string $tag = 'button';
14
15
    /**
16
     * @param string $style
17
     *
18
     * @return static
19
     */
20
    public function style(string $style): static
21
    {
22
        return $this;
23
    }
24
}
25