diff options
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Comments/IComment.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/Comments/IComment.php b/lib/public/Comments/IComment.php index e364d42fe87..c7c846bbe9d 100644 --- a/lib/public/Comments/IComment.php +++ b/lib/public/Comments/IComment.php @@ -127,11 +127,12 @@ interface IComment { * MessageTooLongException shall be thrown. * * @param string $message + * @param int $maxLength * @return IComment * @throws MessageTooLongException - * @since 9.0.0 + * @since 9.0.0 - $maxLength added in 16.0.2 */ - public function setMessage($message); + public function setMessage($message, $maxLength = self::MAX_MESSAGE_LENGTH); /** * returns an array containing mentions that are included in the comment |