diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-03-06 10:50:05 +0100 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-04-02 19:16:03 +0200 |
commit | 20a1646fc6336635cee89426e3a60bb22cb138de (patch) | |
tree | 977ade4df264eca2b060bb160bc3e6afcb2c2f2e /phpBB/phpbb | |
parent | 44fc3d64dafdadd1959ab53dd7e0d1be67c75c1b (diff) | |
download | forums-20a1646fc6336635cee89426e3a60bb22cb138de.tar forums-20a1646fc6336635cee89426e3a60bb22cb138de.tar.gz forums-20a1646fc6336635cee89426e3a60bb22cb138de.tar.bz2 forums-20a1646fc6336635cee89426e3a60bb22cb138de.tar.xz forums-20a1646fc6336635cee89426e3a60bb22cb138de.zip |
[ticket/11768] Renamed utils
PHPBB3-11768
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/textformatter/s9e/utils.php | 2 | ||||
-rw-r--r-- | phpBB/phpbb/textformatter/utils_interface.php (renamed from phpBB/phpbb/textformatter/utils.php) | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/utils.php b/phpBB/phpbb/textformatter/s9e/utils.php index 57e836d2d4..df4ae4b9ec 100644 --- a/phpBB/phpbb/textformatter/s9e/utils.php +++ b/phpBB/phpbb/textformatter/s9e/utils.php @@ -16,7 +16,7 @@ namespace phpbb\textformatter\s9e; /** * Text manipulation utilities */ -class utils extends \phpbb\textformatter\utils +class utils implements \phpbb\textformatter\utils_interface { /** * {@inheritdoc} diff --git a/phpBB/phpbb/textformatter/utils.php b/phpBB/phpbb/textformatter/utils_interface.php index 13942b9248..45610f7ecb 100644 --- a/phpBB/phpbb/textformatter/utils.php +++ b/phpBB/phpbb/textformatter/utils_interface.php @@ -16,7 +16,7 @@ namespace phpbb\textformatter; /** * Used to manipulate a parsed text */ -abstract class utils +interface utils_interface { /** * Replace BBCodes and other formatting elements with whitespace @@ -26,7 +26,7 @@ abstract class utils * @param string $text * @return string */ - abstract public function clean_formatting($text); + public function clean_formatting($text); /** * Remove given BBCode at given nesting depth @@ -36,7 +36,7 @@ abstract class utils * @param integer $depth Minimum nesting depth (number of parents of the same name) * @return string */ - abstract public function remove_bbcode($text, $bbcode_name, $depth = 0); + public function remove_bbcode($text, $bbcode_name, $depth = 0); /** * Remove BBCodes and other formatting from a parsed text @@ -46,7 +46,7 @@ abstract class utils * @param string $text * @return string */ - abstract public function remove_formatting($text); + public function remove_formatting($text); /** * Return a parsed text to its original form @@ -54,5 +54,5 @@ abstract class utils * @param string $text * @return string */ - abstract public function unparse($text); + public function unparse($text); } |