Passed
Push — master ( 190809...ef3237 )
by Sergei
09:55 queued 07:10
created

Small   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
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 7
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getName() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Html\Tag;
6
7
use Yiisoft\Html\Tag\Base\NormalTag;
8
use Yiisoft\Html\Tag\Base\TagContentTrait;
9
10
/**
11
 * @link https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-small-element
12
 */
13
final class Small extends NormalTag
14
{
15
    use TagContentTrait;
16
17
    protected function getName(): string
18
    {
19
        return 'small';
20
    }
21
}
22