|
2 | 2 |
|
3 | 3 | namespace Orkhanahmadov\EloquentRepository; |
4 | 4 |
|
| 5 | +use Illuminate\Support\Arr; |
| 6 | +use Illuminate\Database\Eloquent\Model; |
| 7 | +use Illuminate\Database\Eloquent\Builder; |
5 | 8 | use Illuminate\Contracts\Cache\Factory as Cache; |
6 | | -use Illuminate\Contracts\Container\BindingResolutionException; |
7 | 9 | use Illuminate\Contracts\Foundation\Application; |
8 | | -use Illuminate\Database\Eloquent\{Builder, Model, ModelNotFoundException}; |
9 | | -use Illuminate\Support\Arr; |
10 | | -use Orkhanahmadov\EloquentRepository\Repository\{Concerns\CreatesEntity, |
11 | | - Concerns\DeletesEntity, |
12 | | - Concerns\SelectsEntity, |
13 | | - Concerns\UpdatesEntity, |
14 | | - Contracts\Repository, |
15 | | - Criteria}; |
| 10 | +use Illuminate\Database\Eloquent\ModelNotFoundException; |
| 11 | +use Orkhanahmadov\EloquentRepository\Repository\Criteria; |
| 12 | +use Illuminate\Contracts\Container\BindingResolutionException; |
| 13 | +use Orkhanahmadov\EloquentRepository\Repository\Contracts\Repository; |
| 14 | +use Orkhanahmadov\EloquentRepository\Repository\Concerns\CreatesEntity; |
| 15 | +use Orkhanahmadov\EloquentRepository\Repository\Concerns\DeletesEntity; |
| 16 | +use Orkhanahmadov\EloquentRepository\Repository\Concerns\SelectsEntity; |
| 17 | +use Orkhanahmadov\EloquentRepository\Repository\Concerns\UpdatesEntity; |
16 | 18 |
|
17 | 19 | class EloquentRepository implements Repository |
18 | 20 | { |
@@ -143,7 +145,7 @@ private function cacheTTLValue(): int |
143 | 145 | } |
144 | 146 |
|
145 | 147 | /** |
146 | | - * Throws ModelNotFoundException exception |
| 148 | + * Throws ModelNotFoundException exception. |
147 | 149 | * |
148 | 150 | * @param array|int $ids |
149 | 151 | */ |
|
0 commit comments