From 3db4bfde5b4ce3ca0fd797085e483ec9c31f3055 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 25 Jun 2016 11:08:55 +0200 Subject: [PATCH] Fixes and updated doc --- .../html/input/HtmlInputProcessor.class.php | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/wcfsetup/install/files/lib/system/html/input/HtmlInputProcessor.class.php b/wcfsetup/install/files/lib/system/html/input/HtmlInputProcessor.class.php index 0a2ba2e48f..60781f360e 100644 --- a/wcfsetup/install/files/lib/system/html/input/HtmlInputProcessor.class.php +++ b/wcfsetup/install/files/lib/system/html/input/HtmlInputProcessor.class.php @@ -4,7 +4,6 @@ use wcf\system\bbcode\HtmlBBCodeParser; use wcf\system\html\input\filter\IHtmlInputFilter; use wcf\system\html\input\filter\MessageHtmlInputFilter; use wcf\system\html\input\node\HtmlInputNodeProcessor; -use wcf\system\html\input\node\IHtmlInputNodeProcessor; use wcf\util\StringUtil; /** @@ -29,7 +28,7 @@ class HtmlInputProcessor { protected $htmlInputFilter; /** - * @var IHtmlInputNodeProcessor + * @var HtmlInputNodeProcessor */ protected $htmlInputNodeProcessor; @@ -78,24 +77,24 @@ class HtmlInputProcessor { } /** - * @return IHtmlInputFilter + * @return HtmlInputNodeProcessor */ - protected function getHtmlInputFilter() { - if ($this->htmlInputFilter === null) { - $this->htmlInputFilter = new MessageHtmlInputFilter(); + public function getHtmlInputNodeProcessor() { + if ($this->htmlInputNodeProcessor === null) { + $this->htmlInputNodeProcessor = new HtmlInputNodeProcessor(); } - return $this->htmlInputFilter; + return $this->htmlInputNodeProcessor; } /** - * @return IHtmlInputNodeProcessor + * @return IHtmlInputFilter */ - protected function getHtmlInputNodeProcessor() { - if ($this->htmlInputNodeProcessor === null) { - $this->htmlInputNodeProcessor = new HtmlInputNodeProcessor(); + protected function getHtmlInputFilter() { + if ($this->htmlInputFilter === null) { + $this->htmlInputFilter = new MessageHtmlInputFilter(); } - return $this->htmlInputNodeProcessor; + return $this->htmlInputFilter; } } -- 2.20.1