| Total Complexity | 1 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | class JoinTranslationScope implements Scope |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Apply the scope to a given Eloquent query builder. |
||
| 14 | * |
||
| 15 | * @param \Illuminate\Database\Eloquent\Builder $builder |
||
| 16 | * @param \Illuminate\Database\Eloquent\Model|\KoenHoeijmakers\LaravelTranslatable\HasTranslations $model |
||
| 17 | * @return void |
||
| 18 | */ |
||
| 19 | 6 | public function apply(Builder $builder, Model $model) |
|
| 29 |