Skip to content

Commit

Permalink
Fix ci/cd errs
Browse files Browse the repository at this point in the history
Signed-off-by: Hoang Pham <[email protected]>
  • Loading branch information
hweihwang committed Jul 1, 2024
1 parent ca03642 commit b8a27c5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/Controller/JWTController.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ public function __construct(
private readonly IRootFolder $rootFolder
) {
parent::__construct('whiteboard', $request);

if (!class_exists(IRootFolder::class)) {
throw new \RuntimeException('Dependency IRootFolder not found');
}

if (!class_exists(NoUserException::class)) {
throw new \RuntimeException('Dependency NoUserException not found');
}
}

/**
Expand Down

0 comments on commit b8a27c5

Please sign in to comment.