Passed
Push — master ( a90def...5de986 )
by Chris
04:49
created

Datalist   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A renderHtmlMarkup() 0 3 1
1
<?php
2
3
namespace WebTheory\Saveyour\Elements;
4
5
use WebTheory\Html\AbstractHtmlElement;
6
use WebTheory\Saveyour\Concerns\RendersOptionsTrait;
7
8
class Datalist extends AbstractHtmlElement
9
{
10
    use RendersOptionsTrait;
11
12
    /**
13
     *
14
     */
15
    protected function renderHtmlMarkup(): string
16
    {
17
        return $this->tag('datalist', $this->renderSelection(), $this->attributes);
18
    }
19
}
20