Right
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 3
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 3
c 0
b 0
f 0
wmc 0
lcom 0
cbo 1
1
<?php
2
3
namespace DaveRoss\FunctionalProgrammingUtils;
4
5
/**
6
 * Class Right
7
 * Right Monad. Represents a success state. Acts like a normal Monad.
8
 * @package DaveRoss\FunctionalProgrammingUtils
9
 */
10
class Right extends Either
0 ignored issues
show
Coding Style introduced by
Since you have declared the constructor as private, maybe you should also declare the class as final.
Loading history...
11
{
12
}
13