@@ -106,7 +106,7 @@ |
||
106 | 106 | } |
107 | 107 | |
108 | 108 | /** |
109 | - * @return \Generator|Article[] |
|
109 | + * @return \Generator |
|
110 | 110 | */ |
111 | 111 | private function getLatestBotArticles(): \Generator |
112 | 112 | { |
@@ -56,7 +56,7 @@ |
||
56 | 56 | } |
57 | 57 | |
58 | 58 | /** |
59 | - * @return \Generator|ExternalArticle[] |
|
59 | + * @return \Generator |
|
60 | 60 | * @throws \RuntimeException |
61 | 61 | */ |
62 | 62 | private function getArticles(): \Generator |
@@ -67,7 +67,7 @@ |
||
67 | 67 | } |
68 | 68 | |
69 | 69 | /** |
70 | - * @return \Generator|DataProviderInterface[] |
|
70 | + * @return \Generator |
|
71 | 71 | */ |
72 | 72 | public function getIterator(): \Generator |
73 | 73 | { |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use App\Models\User; |
12 | 12 | use Illuminate\Support\Arr; |
13 | 13 | use GraphQL\Type\Definition\Type; |
14 | -use App\GraphQL\Types\AuthUserType; |
|
15 | 14 | use App\GraphQL\Serializers\UserSerializer; |
16 | 15 | |
17 | 16 | /** |
@@ -11,7 +11,6 @@ |
||
11 | 11 | use App\Services\TokenAuth; |
12 | 12 | use Illuminate\Support\Arr; |
13 | 13 | use GraphQL\Type\Definition\Type; |
14 | -use App\GraphQL\Types\AuthUserType; |
|
15 | 14 | use Illuminate\Contracts\Auth\Guard; |
16 | 15 | use GraphQL\Type\Definition\ObjectType; |
17 | 16 | use Illuminate\Contracts\Auth\StatefulGuard; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | namespace App\GraphQL\Queries; |
10 | 10 | |
11 | 11 | use App\Models\Docs; |
12 | -use App\GraphQL\Types\DocsType; |
|
13 | 12 | use GraphQL\Type\Definition\Type; |
14 | 13 | use Illuminate\Database\Eloquent\Builder; |
15 | 14 | use Illuminate\Support\Collection; |
@@ -10,8 +10,6 @@ |
||
10 | 10 | |
11 | 11 | use GraphQL\Type\Definition\Type; |
12 | 12 | use Illuminate\Support\Collection; |
13 | -use Folklore\GraphQL\Support\Query; |
|
14 | -use App\GraphQL\Types\SearchResultType; |
|
15 | 13 | use GraphQL\Type\Definition\ListOfType; |
16 | 14 | use Service\SearchService\SearchService; |
17 | 15 | use App\GraphQL\Serializers\SearchResultsSerializer; |
@@ -11,7 +11,6 @@ |
||
11 | 11 | namespace App\GraphQL\Queries; |
12 | 12 | |
13 | 13 | use App\Models\Tag; |
14 | -use App\GraphQL\Types\TagType; |
|
15 | 14 | use GraphQL\Type\Definition\Type; |
16 | 15 | use Illuminate\Support\Collection; |
17 | 16 | use GraphQL\Type\Definition\ListOfType; |
@@ -10,7 +10,6 @@ |
||
10 | 10 | namespace App\GraphQL\Queries; |
11 | 11 | |
12 | 12 | use App\Models\Tip; |
13 | -use App\GraphQL\Types\TipType; |
|
14 | 13 | use GraphQL\Type\Definition\Type; |
15 | 14 | use Illuminate\Support\Collection; |
16 | 15 | use Illuminate\Database\Query\Builder; |