| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 53 | 348 | public static function makeFromPrimitives(string $tag, string $operator, $key, $value, bool $noKey, bool $alterNext): RuleDTO |
|
| 54 | { |
||
| 55 | 348 | return new RuleDTO([ |
|
| 56 | 348 | 'tag' => $tag, |
|
| 57 | 348 | 'operator' => $operator, |
|
| 58 | 348 | 'key' => $key, |
|
| 59 | 348 | 'value' => $value, |
|
| 60 | 348 | 'noKey' => $noKey, |
|
| 61 | 348 | 'alterNext' => $alterNext, |
|
| 62 | ]); |
||
| 101 |