@@ -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 | { |
@@ -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 |
@@ -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 | { |
@@ -10,7 +10,6 @@ |
||
| 10 | 10 | namespace App\Models\DocsPage; |
| 11 | 11 | |
| 12 | 12 | use App\Models\DocsPage; |
| 13 | - |
|
| 14 | 13 | use Service\ContentRenderer\Anchors\Parser; |
| 15 | 14 | use Service\ContentRenderer\RenderersRepository; |
| 16 | 15 | use Service\ContentRenderer\Anchors\ProcessedBody; |
@@ -16,11 +16,9 @@ |
||
| 16 | 16 | use Illuminate\Http\Response; |
| 17 | 17 | use Illuminate\Support\Arr; |
| 18 | 18 | use Symfony\Component\HttpKernel\Exception\BadRequestHttpException; |
| 19 | -use Symfony\Component\HttpKernel\Exception\UnauthorizedHttpException; |
|
| 20 | 19 | use Symfony\Component\HttpKernel\Exception\UnprocessableEntityHttpException; |
| 21 | 20 | use Tymon\JWTAuth\Exceptions\JWTException; |
| 22 | 21 | use Tymon\JWTAuth\Exceptions\TokenExpiredException; |
| 23 | -use Tymon\JWTAuth\Exceptions\TokenInvalidException; |
|
| 24 | 22 | use Tymon\JWTAuth\Providers\JWT\JWTInterface; |
| 25 | 23 | |
| 26 | 24 | /** |