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 b8a27c5 commit 75d48c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Controller/JWTController.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ public function __construct(
private readonly IConfig $config,
private readonly IRootFolder $rootFolder

Check failure on line 35 in lib/Controller/JWTController.php

View workflow job for this annotation

GitHub Actions / static-psalm-analysis

MissingDependency

lib/Controller/JWTController.php:35:3: MissingDependency: OCP\Files\IRootFolder depends on class or interface oc\hooks\emitter that does not exist (see https://psalm.dev/157)
) {
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');
}

parent::__construct('whiteboard', $request);
}

/**
Expand Down

0 comments on commit 75d48c3

Please sign in to comment.