[ticket/11768] Renamed utils

PHPBB3-11768
This commit is contained in:
JoshyPHP 2015-03-06 10:50:05 +01:00
parent 44fc3d64da
commit 20a1646fc6
2 changed files with 6 additions and 6 deletions

View file

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

View file

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