| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 10 |
| Ratio | 100 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | 12 | View Code Duplication | public function __construct($idToReplace, $stepFqcn, callable $factory = null, $description = null) |
| 39 | { |
||
| 40 | 12 | Guard::againstNullAndEmpty('idToReplace', $idToReplace); |
|
| 41 | 11 | Guard::againstNullAndEmpty('stepClass', $stepFqcn); |
|
| 42 | |||
| 43 | 10 | $this->idToReplace = $idToReplace; |
|
| 44 | 10 | $this->stepFqcn = $stepFqcn; |
|
| 45 | 10 | $this->factory = $factory; |
|
| 46 | 10 | $this->description = $description; |
|
| 47 | 10 | } |
|
| 48 | |||
| 91 |