mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/16630] Restore clean_formatting()'s behaviour
PHPBB3-16630
This commit is contained in:
@@ -15,6 +15,10 @@ namespace phpbb\textformatter;
|
||||
|
||||
/**
|
||||
* Used to manipulate a parsed text
|
||||
*
|
||||
* In this interface, "plain text" refers to regular text as it would be inputted by a user.
|
||||
* "Parsed text" refers to whichever form is returned by the implementation after parsing, which
|
||||
* should be suitable to be reinserted into the database.
|
||||
*/
|
||||
interface utils_interface
|
||||
{
|
||||
@@ -73,7 +77,7 @@ interface utils_interface
|
||||
* Return whether or not a parsed text represent an empty text.
|
||||
*
|
||||
* @param string $text Parsed text
|
||||
* @return bool Tue if the original text is empty
|
||||
* @return bool True if the original text is empty
|
||||
*/
|
||||
public function is_empty($text);
|
||||
}
|
||||
|
Reference in New Issue
Block a user