X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2FCommentStore.php;h=e9b08e89dc97cba0181a61b5f577159252ac9102;hp=8447b2c7971ffe29df7921f73329efb0be999353;hb=478a58f63101f2b47d18a618296b5e7970fa3f24;hpb=a2c8c2969420a0f150c03f76e3a0bf9028fcda43 diff --git a/includes/CommentStore.php b/includes/CommentStore.php index 8447b2c797..e9b08e89dc 100644 --- a/includes/CommentStore.php +++ b/includes/CommentStore.php @@ -34,7 +34,7 @@ class CommentStore { * Maximum length of a comment in UTF-8 characters. Longer comments will be truncated. * @note This must be at least 255 and not greater than floor( MAX_COMMENT_LENGTH / 4 ). */ - const COMMENT_CHARACTER_LIMIT = 1000; + const COMMENT_CHARACTER_LIMIT = 500; /** * Maximum length of a comment in bytes. Longer comments will be truncated. @@ -134,7 +134,7 @@ class CommentStore { /** * Compat method allowing use of self::newKey until removed. * @param string|null $methodKey - * @throw InvalidArgumentException + * @throws InvalidArgumentException * @return string */ private function getKey( $methodKey = null ) {