summaryrefslogtreecommitdiffstats
path: root/lib/public/Comments
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Comments')
-rw-r--r--lib/public/Comments/CommentsEntityEvent.php1
-rw-r--r--lib/public/Comments/CommentsEvent.php1
-rw-r--r--lib/public/Comments/IComment.php1
-rw-r--r--lib/public/Comments/ICommentsManager.php1
-rw-r--r--lib/public/Comments/IllegalIDChangeException.php3
-rw-r--r--lib/public/Comments/MessageTooLongException.php3
-rw-r--r--lib/public/Comments/NotFoundException.php3
7 files changed, 6 insertions, 7 deletions
diff --git a/lib/public/Comments/CommentsEntityEvent.php b/lib/public/Comments/CommentsEntityEvent.php
index 2bcc44f8b16..53ccd87f08d 100644
--- a/lib/public/Comments/CommentsEntityEvent.php
+++ b/lib/public/Comments/CommentsEntityEvent.php
@@ -32,7 +32,6 @@ use OCP\EventDispatcher\Event;
* @since 9.1.0
*/
class CommentsEntityEvent extends Event {
-
const EVENT_ENTITY = 'OCP\Comments\ICommentsManager::registerEntity';
/** @var string */
diff --git a/lib/public/Comments/CommentsEvent.php b/lib/public/Comments/CommentsEvent.php
index 3e12c03542a..b2116eb51ec 100644
--- a/lib/public/Comments/CommentsEvent.php
+++ b/lib/public/Comments/CommentsEvent.php
@@ -32,7 +32,6 @@ use OCP\EventDispatcher\Event;
* @since 9.0.0
*/
class CommentsEvent extends Event {
-
const EVENT_ADD = 'OCP\Comments\ICommentsManager::addComment';
const EVENT_PRE_UPDATE = 'OCP\Comments\ICommentsManager::preUpdateComment';
const EVENT_UPDATE = 'OCP\Comments\ICommentsManager::updateComment';
diff --git a/lib/public/Comments/IComment.php b/lib/public/Comments/IComment.php
index b98a015a30e..604aaefd890 100644
--- a/lib/public/Comments/IComment.php
+++ b/lib/public/Comments/IComment.php
@@ -279,5 +279,4 @@ interface IComment {
* @since 19.0.0
*/
public function setReferenceId(?string $referenceId): IComment;
-
}
diff --git a/lib/public/Comments/ICommentsManager.php b/lib/public/Comments/ICommentsManager.php
index 7c19b36e59a..bb3a6fe255c 100644
--- a/lib/public/Comments/ICommentsManager.php
+++ b/lib/public/Comments/ICommentsManager.php
@@ -322,5 +322,4 @@ interface ICommentsManager {
* provided ID is unknown. It must be ensured that a string is returned.
*/
public function resolveDisplayName($type, $id);
-
}
diff --git a/lib/public/Comments/IllegalIDChangeException.php b/lib/public/Comments/IllegalIDChangeException.php
index 5f8428a0f85..f821333800e 100644
--- a/lib/public/Comments/IllegalIDChangeException.php
+++ b/lib/public/Comments/IllegalIDChangeException.php
@@ -28,4 +28,5 @@ namespace OCP\Comments;
* Exception for illegal attempts to modify a comment ID
* @since 9.0.0
*/
-class IllegalIDChangeException extends \Exception {}
+class IllegalIDChangeException extends \Exception {
+}
diff --git a/lib/public/Comments/MessageTooLongException.php b/lib/public/Comments/MessageTooLongException.php
index 5b0bd96e468..bccf75adc1b 100644
--- a/lib/public/Comments/MessageTooLongException.php
+++ b/lib/public/Comments/MessageTooLongException.php
@@ -27,4 +27,5 @@ namespace OCP\Comments;
* Exception thrown when a comment message exceeds the allowed character limit
* @since 9.0.0
*/
-class MessageTooLongException extends \OverflowException {}
+class MessageTooLongException extends \OverflowException {
+}
diff --git a/lib/public/Comments/NotFoundException.php b/lib/public/Comments/NotFoundException.php
index 7a06447eb21..80bad3d6bec 100644
--- a/lib/public/Comments/NotFoundException.php
+++ b/lib/public/Comments/NotFoundException.php
@@ -28,4 +28,5 @@ namespace OCP\Comments;
* Exception for not found entity
* @since 9.0.0
*/
-class NotFoundException extends \Exception {}
+class NotFoundException extends \Exception {
+}