fix type hint

This commit is contained in:
Dennis Eichhorn 2020-12-19 20:28:40 +01:00
parent d2cb300072
commit 59417c16a9

View File

@ -281,15 +281,15 @@ class View extends ViewAbstract
/** /**
* Get translation. * Get translation.
* *
* @param mixed $translation Text * @param string $translation Text
* @param string $module Module name * @param null|string $module Module name
* @param string $theme Theme name * @param null|string $theme Theme name
* *
* @return string * @return string
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getHtml(mixed $translation, string $module = null, string $theme = null) : string public function getHtml(string $translation, string $module = null, string $theme = null) : string
{ {
return \htmlspecialchars($this->getText($translation, $module, $theme)); return \htmlspecialchars($this->getText($translation, $module, $theme));
} }