mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/11768] Removed get_parser() / get_renderer() accessors
There's no need to access the s9e\TextFormatter objects outside of events. PHPBB3-11768
This commit is contained in:
@@ -190,16 +190,6 @@ class parser implements \phpbb\textformatter\parser_interface
|
||||
return array_unique($errors);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the instance of s9e\TextFormatter\Parser used by this object
|
||||
*
|
||||
* @return \s9e\TextFormatter\Parser
|
||||
*/
|
||||
public function get_parser()
|
||||
{
|
||||
return $this->parser;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
Reference in New Issue
Block a user