| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 40 | public function __construct( |
||
| 41 | string $name, |
||
| 42 | string $errorName, |
||
| 43 | callable $predicate, |
||
| 44 | array $params = [], |
||
| 45 | array $dependsOnChecks = [] |
||
| 46 | ) { |
||
| 47 | $this->name = $name; |
||
| 48 | $this->errorName = $errorName; |
||
| 49 | $this->predicate = $predicate; |
||
| 50 | $this->params = $params; |
||
| 51 | $this->dependsOnChecks = $dependsOnChecks; |
||
| 52 | } |
||
| 68 |