GithubCommitStatusErrorState   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 10
wmc 1
lcom 0
cbo 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __toString() 0 4 1
1
<?php
2
3
namespace DevBoardLib\GithubCore\CommitStatus\State;
4
5
/**
6
 * Class GithubCommitStatusErrorState.
7
 */
8
class GithubCommitStatusErrorState implements GithubCommitStatusState
9
{
10
    /**
11
     * @return string
12
     */
13
    public function __toString()
14
    {
15
        return 'error';
16
    }
17
}
18