| Conditions | 3 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | 9 | protected function parseValue($value): string |
|
| 18 | { |
||
| 19 | 9 | $nesting_level = $this->templateKey ?: $this->getNestingLevel(); |
|
| 20 | |||
| 21 | 9 | return trans( |
|
| 22 | 9 | $this->getTemplatePath( |
|
| 23 | 9 | get_class($this->model). |
|
| 24 | 9 | ($nesting_level ? '.'.$nesting_level : '') |
|
| 25 | ), |
||
| 26 | 9 | $this->parseAttributesWithKeys($value) |
|
| 27 | ); |
||
| 28 | } |
||
| 29 | |||
| 42 |