From e24df84e2404d1d7684e46cd39bb0ea5993d16e1 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 23 Jan 2016 10:17:21 +0100 Subject: [PATCH] Remove namespace from scalars --- Admin/Installer.php | 2 +- Controller.php | 16 ++++++++-------- Models/Navigation.php | 2 +- Views/NavigationView.php | 28 ++++++++++++++-------------- 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/Admin/Installer.php b/Admin/Installer.php index 2470337..092bc49 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -92,7 +92,7 @@ class Installer extends InstallerAbstract * * @param Pool $dbPool Database instance * @param array $data Link info - * @param \int $parent Parent element (default is 0 for none) + * @param int $parent Parent element (default is 0 for none) * * @return void * diff --git a/Controller.php b/Controller.php index ad446c9..d2f769f 100644 --- a/Controller.php +++ b/Controller.php @@ -38,7 +38,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module path. * - * @var \string + * @var string * @since 1.0.0 */ const MODULE_PATH = __DIR__; @@ -46,7 +46,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module version. * - * @var \string + * @var string * @since 1.0.0 */ const MODULE_VERSION = '1.0.0'; @@ -54,7 +54,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * JavaScript files. * - * @var \string[] + * @var string[] * @since 1.0.0 */ public static $js = [ @@ -64,7 +64,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * CSS files. * - * @var \string[] + * @var string[] * @since 1.0.0 */ public static $css = [ @@ -101,7 +101,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module name. * - * @var \string + * @var string * @since 1.0.0 */ const MODULE_NAME = 'Navigation'; @@ -109,7 +109,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Localization files. * - * @var \string + * @var string * @since 1.0.0 */ protected static $localization = [ @@ -118,7 +118,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Providing. * - * @var \string[] + * @var string[] * @since 1.0.0 */ protected static $providing = [ @@ -127,7 +127,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Dependencies. * - * @var \string[] + * @var string[] * @since 1.0.0 */ protected static $dependencies = [ diff --git a/Models/Navigation.php b/Models/Navigation.php index 3da630c..80062e6 100644 --- a/Models/Navigation.php +++ b/Models/Navigation.php @@ -76,7 +76,7 @@ class Navigation /** * Load navigation based on request. * - * @param \string[] $request Request hashes + * @param string[] $request Request hashes * * @return void * diff --git a/Views/NavigationView.php b/Views/NavigationView.php index 2473225..1d11dd8 100644 --- a/Views/NavigationView.php +++ b/Views/NavigationView.php @@ -53,7 +53,7 @@ class NavigationView extends View /** * Language used for the navigation. * - * @var \string + * @var string * @since 1.0.0 */ protected $language = 'en'; @@ -61,7 +61,7 @@ class NavigationView extends View /** * Parent element used for navigation. * - * @var \int + * @var int * @since 1.0.0 */ protected $parent = 0; @@ -77,12 +77,12 @@ class NavigationView extends View /** * Get navigation Id. * - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn */ - public function getNavId() : \int + public function getNavId() : int { return $this->navId; } @@ -90,14 +90,14 @@ class NavigationView extends View /** * Set navigation Id. * - * @param \int $navId Navigation id used for display + * @param int $navId Navigation id used for display * * @return void * * @since 1.0.0 * @author Dennis Eichhorn */ - public function setNavId(\int $navId) + public function setNavId(int $navId) { $this->navId = $navId; } @@ -127,49 +127,49 @@ class NavigationView extends View } /** - * @return \string + * @return string * * @since 1.0.0 * @author Dennis Eichhorn */ - public function getLanguage() : \string + public function getLanguage() : string { return $this->language; } /** - * @param \string $language + * @param string $language * * @return void * * @since 1.0.0 * @author Dennis Eichhorn */ - public function setLanguage(\string $language) + public function setLanguage(string $language) { $this->language = $language; } /** - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn */ - public function getParent() : \int + public function getParent() : int { return $this->parent; } /** - * @param \int $parent + * @param int $parent * * @return void * * @since 1.0.0 * @author Dennis Eichhorn */ - public function setParent(\int $parent) + public function setParent(int $parent) { $this->parent = $parent; }