diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 8e3269e..d321673 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -38,7 +38,7 @@ class Navigation */ public static function install(string $path = null, DatabasePool $dbPool = null) : void { - $navData = json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true); + $navData = \json_decode(file_get_contents(__DIR__ . '/Navigation.install.json'), true); $class = '\\Modules\\Navigation\\Admin\\Installer'; /** @var $class \Modules\Navigation\Admin\Installer */ diff --git a/Models/EditorDoc.php b/Models/EditorDoc.php index 499ba2b..5a032f1 100644 --- a/Models/EditorDoc.php +++ b/Models/EditorDoc.php @@ -235,7 +235,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable public function __toString() { - return json_encode($this->toArray()); + return \json_encode($this->toArray()); } public function jsonSerialize() diff --git a/Models/EditorDocMapper.php b/Models/EditorDocMapper.php index bdf4da7..37636e4 100644 --- a/Models/EditorDocMapper.php +++ b/Models/EditorDocMapper.php @@ -26,7 +26,7 @@ class EditorDocMapper extends DataMapperAbstract /** * Columns. * - * @var array + * @var array> * @since 1.0.0 */ static protected $columns = [