mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/11768] Replaced \phpbb\textformatter\parser with an interface
PHPBB3-11768
This commit is contained in:
@@ -19,7 +19,7 @@ use s9e\TextFormatter\Parser\Logger;
|
||||
/**
|
||||
* s9e\TextFormatter\Parser adapter
|
||||
*/
|
||||
class parser extends \phpbb\textformatter\parser
|
||||
class parser implements \phpbb\textformatter\parser
|
||||
{
|
||||
/**
|
||||
* @var s9e\TextFormatter\Parser
|
||||
@@ -219,6 +219,17 @@ class parser extends \phpbb\textformatter\parser
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function set_vars(array $vars)
|
||||
{
|
||||
foreach ($vars as $name => $value)
|
||||
{
|
||||
$this->set_var($name, $value);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter a flash object's height
|
||||
*
|
||||
|
Reference in New Issue
Block a user