| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | 1 | public static function becauseFieldNotFoundIn( |
|
| 12 | string $entityName, |
||
| 13 | string $fieldName, |
||
| 14 | string $method |
||
| 15 | ) : self { |
||
| 16 | 1 | return new self( |
|
| 17 | 1 | "Entity '" . $entityName . "' has no field '" . $fieldName . "'. " . |
|
| 18 | 1 | "You can therefore not call '" . $method . "' on the entities' repository." |
|
| 19 | ); |
||
| 27 |