Completed
Push — master ( 9e4d7b...c3f58e )
by Gabriel
03:57 queued 11s
created

ClassesDictionary   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A classForElementHasError() 0 3 1
1
<?php
2
3
namespace Nip\Form\Renderer\Traits;
4
5
/**
6
 * Trait ClassesDictionary
7
 * @package Nip\Form\Renderer\Traits
8
 */
9
trait ClassesDictionary
10
{
11
12
    /**
13
     * @return string
14
     */
15
    public function classForElementHasError()
16
    {
17
        return 'is-invalid';
18
    }
19
}
20