mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +00:00
Fix root namespace
This commit is contained in:
parent
c959e5e5de
commit
c111b2d432
|
|
@ -99,7 +99,7 @@ abstract class ViewAbstract implements \Serializable
|
|||
*/
|
||||
public function printHtml($text) : string
|
||||
{
|
||||
return htmlspecialchars((string) $text);
|
||||
return \htmlspecialchars((string) $text);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -113,7 +113,7 @@ abstract class ViewAbstract implements \Serializable
|
|||
*/
|
||||
public static function html($text) : string
|
||||
{
|
||||
return htmlspecialchars((string) $text);
|
||||
return \htmlspecialchars((string) $text);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -253,7 +253,7 @@ abstract class ViewAbstract implements \Serializable
|
|||
\ob_start();
|
||||
/** @noinspection PhpIncludeInspection */
|
||||
$includeData = include $path;
|
||||
$ob = (string) ob_get_clean();
|
||||
$ob = (string) \ob_get_clean();
|
||||
|
||||
if (\is_array($includeData)) {
|
||||
return (string) \json_encode($includeData);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user