aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
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);