aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
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/private
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/private')
-rw-r--r--lib/private/Comments/Comment.php2
-rw-r--r--lib/private/Encryption/Update.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Comments/Comment.php b/lib/private/Comments/Comment.php
index c67358cc854..ac022cd4c3c 100644
--- a/lib/private/Comments/Comment.php
+++ b/lib/private/Comments/Comment.php
@@ -297,7 +297,7 @@ class Comment implements IComment {
*
* If not explicitly set, it shall default to the time of initialization.
* @since 9.0.0
- * @throw \LogicException if creation date time is not set yet
+ * @throws \LogicException if creation date time is not set yet
*/
public function getCreationDateTime(): \DateTime {
if (!isset($this->data['creationDT'])) {
diff --git a/lib/private/Encryption/Update.php b/lib/private/Encryption/Update.php
index 87036403b8e..6fee1afbe5c 100644
--- a/lib/private/Encryption/Update.php
+++ b/lib/private/Encryption/Update.php
@@ -129,7 +129,7 @@ class Update {
*
* @param string $path path to file for current user
* @return array ['owner' => $owner, 'path' => $path]
- * @throw \InvalidArgumentException
+ * @throws \InvalidArgumentException
*/
protected function getOwnerPath($path) {
$info = Filesystem::getFileInfo($path);