1
0
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:
JoshyPHP
2015-03-03 00:52:31 +01:00
parent b12043d4b0
commit 694e515f7c
2 changed files with 27 additions and 22 deletions

View File

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