Passed
Push — master ( 43186b...d45fb7 )
by Gabriel
14:32
created

Error   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getColorClass() 0 3 1
1
<?php
2
3
namespace ByTIC\Payments\Models\Transactions\Statuses;
4
5
/**
6
 * Class Error
7
 * @package ByTIC\Payments\Models\Transactions\Statuses
8
 */
9
class Error extends AbstractStatus
10
{
11
    public const NAME = 'error';
12
13
    /**
14
     * @return string
15
     */
16
    public function getColorClass()
17
    {
18
        return 'danger';
19
    }
20
}
21