| Total Complexity | 1 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 5 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | class JoinTranslationScope implements Scope |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Apply the scope to a given Eloquent query builder. |
||
| 16 | * |
||
| 17 | * @param \Illuminate\Database\Eloquent\Builder $builder |
||
| 18 | * @param \Illuminate\Database\Eloquent\Model|\KoenHoeijmakers\LaravelTranslatable\HasTranslations $model |
||
| 19 | * @return void |
||
| 20 | */ |
||
| 21 | 24 | public function apply(Builder $builder, Model $model) |
|
| 31 |