diff options
author | Marcel Klehr <mklehr@gmx.net> | 2023-10-16 16:33:07 +0200 |
---|---|---|
committer | Marcel Klehr <mklehr@gmx.net> | 2023-10-18 13:21:50 +0200 |
commit | 3e6a8b31c4eb7792e20315b96db86856c0f51bb6 (patch) | |
tree | a8d553a205d44fce2d4a95c7062217909864ace5 /lib | |
parent | e5efbc88d864386a441ee8f2534888652cdcf4b0 (diff) | |
download | nextcloud-server-3e6a8b31c4eb7792e20315b96db86856c0f51bb6.tar.gz nextcloud-server-3e6a8b31c4eb7792e20315b96db86856c0f51bb6.zip |
fix(TextToImage): Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/TextToImage/Manager.php | 2 | ||||
-rw-r--r-- | lib/public/DB/Exception.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/TextToImage/Manager.php b/lib/private/TextToImage/Manager.php index fd9e2212abd..8e56558d9c3 100644 --- a/lib/private/TextToImage/Manager.php +++ b/lib/private/TextToImage/Manager.php @@ -265,7 +265,7 @@ class Manager implements IManager { * @param string $userId * @param string $appId * @param string|null $identifier - * @return array + * @return Task[] */ public function getUserTasksByApp(string $userId, string $appId, ?string $identifier = null): array { try { diff --git a/lib/public/DB/Exception.php b/lib/public/DB/Exception.php index 987666b05a9..f977ffa7396 100644 --- a/lib/public/DB/Exception.php +++ b/lib/public/DB/Exception.php @@ -139,7 +139,7 @@ class Exception extends BaseException { /** * @return int|null - * @psalm-return TextToImageException::REASON_* + * @psalm-return Exception::REASON_* * @since 21.0.0 */ public function getReason(): ?int { |