mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
fix type hint
This commit is contained in:
parent
d2cb300072
commit
59417c16a9
|
|
@ -281,15 +281,15 @@ class View extends ViewAbstract
|
|||
/**
|
||||
* Get translation.
|
||||
*
|
||||
* @param mixed $translation Text
|
||||
* @param string $module Module name
|
||||
* @param string $theme Theme name
|
||||
* @param string $translation Text
|
||||
* @param null|string $module Module name
|
||||
* @param null|string $theme Theme name
|
||||
*
|
||||
* @return string
|
||||
*
|
||||
* @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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user