1
0
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:
JoshyPHP
2020-11-06 23:07:30 +01:00
parent 39c3a6c3e5
commit 8a8893fbd3
4 changed files with 16 additions and 5 deletions

View File

@@ -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);
}