From e42c14e709f8069d0e71a9be231885c2cf3fde4d 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 --- Controller.php | 14 +++++++------- Models/Answer.php | 6 +++--- Models/Question.php | 6 +++--- Models/Section.php | 8 ++++---- Models/Survey.php | 8 ++++---- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Controller.php b/Controller.php index 2b31d14..d28a119 100644 --- a/Controller.php +++ b/Controller.php @@ -43,7 +43,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module path. * - * @var \string + * @var string * @since 1.0.0 */ const MODULE_PATH = __DIR__; @@ -51,7 +51,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module version. * - * @var \string + * @var string * @since 1.0.0 */ const MODULE_VERSION = '1.0.0'; @@ -59,7 +59,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module name. * - * @var \string + * @var string * @since 1.0.0 */ const MODULE_NAME = 'Surveys'; @@ -67,7 +67,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Localization files. * - * @var \string + * @var string * @since 1.0.0 */ protected static $localization = [ @@ -77,7 +77,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Providing. * - * @var \string + * @var string * @since 1.0.0 */ protected static $providing = []; @@ -85,7 +85,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Dependencies. * - * @var \string + * @var string * @since 1.0.0 */ protected static $dependencies = [ @@ -170,7 +170,7 @@ class Controller extends ModuleAbstract implements WebInterface * @since 1.0.0 * @author Dennis Eichhorn */ - private function createNavigation(\int $pageId, RequestAbstract $request, ResponseAbstract $response) + private function createNavigation(int $pageId, RequestAbstract $request, ResponseAbstract $response) { $nav = Navigation::getInstance($request, $this->app->dbPool); $navView = new NavigationView($this->app, $request, $response); diff --git a/Models/Answer.php b/Models/Answer.php index ad5312c..e985ce7 100644 --- a/Models/Answer.php +++ b/Models/Answer.php @@ -34,7 +34,7 @@ class Answer implements Multition /** * ID. * - * @var \int + * @var int * @since 1.0.0 */ private $id = ''; @@ -42,7 +42,7 @@ class Answer implements Multition /** * Name. * - * @var \string + * @var string * @since 1.0.0 */ private $name = ''; @@ -50,7 +50,7 @@ class Answer implements Multition /** * Description. * - * @var \string + * @var string * @since 1.0.0 */ private $description = ''; diff --git a/Models/Question.php b/Models/Question.php index 095ff0a..ee64c8a 100644 --- a/Models/Question.php +++ b/Models/Question.php @@ -34,7 +34,7 @@ class Question implements Multition /** * ID. * - * @var \int + * @var int * @since 1.0.0 */ private $id = ''; @@ -42,7 +42,7 @@ class Question implements Multition /** * Name. * - * @var \string + * @var string * @since 1.0.0 */ private $name = ''; @@ -50,7 +50,7 @@ class Question implements Multition /** * Description. * - * @var \string + * @var string * @since 1.0.0 */ private $description = ''; diff --git a/Models/Section.php b/Models/Section.php index 1b56fcc..e4c6bab 100644 --- a/Models/Section.php +++ b/Models/Section.php @@ -34,7 +34,7 @@ class Section implements Multition /** * ID. * - * @var \int + * @var int * @since 1.0.0 */ private $id = ''; @@ -42,7 +42,7 @@ class Section implements Multition /** * Name. * - * @var \string + * @var string * @since 1.0.0 */ private $name = ''; @@ -50,7 +50,7 @@ class Section implements Multition /** * Description. * - * @var \string + * @var string * @since 1.0.0 */ private $description = ''; @@ -135,7 +135,7 @@ class Section implements Multition * * This usually happens from DB or cache * - * @param \int $id Object ID + * @param int $id Object ID * * @return void * diff --git a/Models/Survey.php b/Models/Survey.php index 3a9b908..55a9f91 100644 --- a/Models/Survey.php +++ b/Models/Survey.php @@ -34,7 +34,7 @@ class Survey implements Multition /** * ID. * - * @var \int + * @var int * @since 1.0.0 */ private $id = ''; @@ -42,7 +42,7 @@ class Survey implements Multition /** * Name. * - * @var \string + * @var string * @since 1.0.0 */ private $name = ''; @@ -50,7 +50,7 @@ class Survey implements Multition /** * Description. * - * @var \string + * @var string * @since 1.0.0 */ private $description = ''; @@ -66,7 +66,7 @@ class Survey implements Multition /** * Creator. * - * @var \int + * @var int * @since 1.0.0 */ private $creator = null;