Commit c8e16ed7 authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

Fix some missing throws tags

parent 134a9b6d
Pipeline #10614 passed with stages
in 3 minutes and 9 seconds
......@@ -122,6 +122,7 @@ class DoorsController extends ApiController
* @return \Illuminate\Http\JsonResponse
* @throws \Source\Exceptions\EntityNotFoundException
* @throws \Source\Exceptions\AuthorizationException
* @throws \Source\Exceptions\EntityExistsException
*/
public function regenerateToken(GenerateDoorTokenUseCase $tokenGenerator, string $doorId): JsonResponse
{
......
......@@ -103,6 +103,7 @@ class MeController extends ApiController
/**
* @param \Source\UseCases\Tokens\GetTokens\GetTokensUseCase $userTokens
* @return \Illuminate\Http\JsonResponse
* @throws \Exception
*/
public function tokens(GetTokensUseCase $userTokens): JsonResponse
{
......
......@@ -22,6 +22,8 @@ class TokensController extends ApiController
* @return \Illuminate\Http\JsonResponse
* @throws \Source\Exceptions\AuthorizationException
* @throws \Source\Exceptions\EntityNotFoundException
* @throws \Illuminate\Validation\ValidationException
* @throws \Exception
*/
public function index(GetTokensUseCase $allTokens): JsonResponse
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment