aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-09-17 17:18:30 +0200
committerprovokateurin <kate@provokateurin.de>2024-09-17 17:18:30 +0200
commitc2fb7a72da05a8df976d182ead6a18dc93d6abd8 (patch)
tree2e816f5d418f02ace3da9504a7e308e452ec993a /lib/public
parentf25acfb7990bf6d9233e1c3fb8713ea80d388084 (diff)
downloadnextcloud-server-c2fb7a72da05a8df976d182ead6a18dc93d6abd8.tar.gz
nextcloud-server-c2fb7a72da05a8df976d182ead6a18dc93d6abd8.zip
fix(psalm): Fix @throws annotationsfix/psalm/throws-annotations
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/Cache/ICache.php2
-rw-r--r--lib/public/Group/Backend/IBatchMethodsBackend.php2
-rw-r--r--lib/public/Search/FilterDefinition.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/public/Files/Cache/ICache.php b/lib/public/Files/Cache/ICache.php
index bb5608e8480..cd610b15545 100644
--- a/lib/public/Files/Cache/ICache.php
+++ b/lib/public/Files/Cache/ICache.php
@@ -231,7 +231,7 @@ interface ICache {
*
* @param ISearchQuery $query
* @return ICacheEntry[]
- * @throw \InvalidArgumentException if the cache is unable to perform the query
+ * @throws \InvalidArgumentException if the cache is unable to perform the query
* @since 12.0.0
*/
public function searchQuery(ISearchQuery $query);
diff --git a/lib/public/Group/Backend/IBatchMethodsBackend.php b/lib/public/Group/Backend/IBatchMethodsBackend.php
index 745b76aac50..5853447d5e9 100644
--- a/lib/public/Group/Backend/IBatchMethodsBackend.php
+++ b/lib/public/Group/Backend/IBatchMethodsBackend.php
@@ -33,7 +33,7 @@ interface IBatchMethodsBackend {
* a loop. But a GroupBackend implementation should override this method
* to provide a more optimized way to execute this operation.
*
- * @throw \RuntimeException if called on a backend that doesn't implements IGroupDetailsBackend
+ * @throws \RuntimeException if called on a backend that doesn't implements IGroupDetailsBackend
*
* @return array<string, array{displayName?: string}>
* @since 28.0.0
diff --git a/lib/public/Search/FilterDefinition.php b/lib/public/Search/FilterDefinition.php
index 1f43222752d..86b2bb655ff 100644
--- a/lib/public/Search/FilterDefinition.php
+++ b/lib/public/Search/FilterDefinition.php
@@ -67,7 +67,7 @@ class FilterDefinition {
*
* @param self::TYPE_* $type
* @param bool $exclusive If true, all providers not supporting this filter will be ignored when this filter is provided
- * @throw InvalidArgumentException in case of invalid name. Allowed characters are -, 0-9, a-z.
+ * @throws InvalidArgumentException in case of invalid name. Allowed characters are -, 0-9, a-z.
* @since 28.0.0
*/
public function __construct(