mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-11 14:38:39 +00:00
fix type hint
This commit is contained in:
parent
d2cb300072
commit
59417c16a9
|
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user