@@ -52,6 +52,9 @@ |
||
52 | 52 | }); |
53 | 53 | } |
54 | 54 | |
55 | + /** |
|
56 | + * @param string $internalName |
|
57 | + */ |
|
55 | 58 | public static function count(string $name, ?string $internalName = null): Collection |
56 | 59 | { |
57 | 60 | return collect([ |
@@ -4,9 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Support\Collection; |
6 | 6 | use Illuminate\Support\Str; |
7 | +use Spatie\QueryBuilder\Includes\IncludeInterface; |
|
7 | 8 | use Spatie\QueryBuilder\Includes\IncludedCount; |
8 | 9 | use Spatie\QueryBuilder\Includes\IncludedRelationship; |
9 | -use Spatie\QueryBuilder\Includes\IncludeInterface; |
|
10 | 10 | |
11 | 11 | class AllowedInclude |
12 | 12 | { |