[ticket/17306] Change type description for get_context()

PHPBB3-17306
This commit is contained in:
Christian Schnegelberger 2024-04-20 19:06:18 +02:00 committed by Marc Alexander
parent 25bd56c254
commit 17a50027b1
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -320,7 +320,7 @@ function bump_topic_allowed($forum_id, $topic_bumped, $last_post_time, $topic_po
* Generates a text with approx. the specified length which contains the specified words and their context
*
* @param string $text The full text from which context shall be extracted
* @param string $words An array of words which should be contained in the result, has to be a valid part of a PCRE pattern (escape with preg_quote!)
* @param array $words An array of words which should be contained in the result, has to be a valid part of a PCRE pattern (escape with preg_quote!)
* @param int $length The desired length of the resulting text, however the result might be shorter or longer than this value
*
* @return string Context of the specified words separated by "..."