| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | 1 | public function getLogMessage() { |
|
| 10 | 1 | $label = $this->getModelLabel(); |
|
| 11 | 1 | $attributes = []; |
|
| 12 | 1 | foreach ($this->attributes as $key => $attribute) { |
|
| 13 | 1 | $attributes[] = $key . '=' . $attribute; |
|
| 14 | } |
||
| 15 | |||
| 16 | 1 | return $label . ' with attributes ' . implode(', ', $attributes) . ' not found'; |
|
| 17 | } |
||
| 31 | } |