| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | 2 | public function seo_info_forced(): \Illuminate\Database\Eloquent\Relations\MorphOne |
|
| 21 | { |
||
| 22 | 2 | return $this->morphOne(\NovaSeoEntity\Models\SEOInfo::class, 'seoptimisable') |
|
| 23 | 2 | ->withDefault([ |
|
| 24 | 2 | 'seoptimisable_type' => $this->getMorphClass(), |
|
| 25 | 2 | 'seoptimisable_id' => $this->getKey(), |
|
| 26 | 2 | ]); |
|
| 68 |