@@ -43,6 +43,9 @@ |
||
43 | 43 | }); |
44 | 44 | } |
45 | 45 | |
46 | + /** |
|
47 | + * @param Collection $subs |
|
48 | + */ |
|
46 | 49 | private function appendLoop($item, $relation, $subs) |
47 | 50 | { |
48 | 51 | if($item->$relation !== null) |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\QueryBuilder\Concerns; |
4 | 4 | |
5 | -use Illuminate\Database\Eloquent\Model; |
|
6 | 5 | use Illuminate\Support\Collection; |
7 | 6 | use Spatie\QueryBuilder\Exceptions\InvalidAppendQuery; |
8 | 7 |