From 370271c445fcb6ee844ce6fdd906af75a21564ca 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/AccountAbstract.php | 8 ++++---- Models/AccountBalance.php | 12 ++++++------ Models/AccountInterface.php | 2 +- Models/Balance.php | 6 +++--- Models/BatchPosting.php | 22 +++++++++++----------- 6 files changed, 32 insertions(+), 32 deletions(-) diff --git a/Controller.php b/Controller.php index a641ced..d1c8d67 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 = 'Accounting'; @@ -67,7 +67,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Localization files. * - * @var \string + * @var string * @since 1.0.0 */ protected static $localization = [ @@ -106,7 +106,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Providing. * - * @var \string + * @var string * @since 1.0.0 */ protected static $providing = []; @@ -114,7 +114,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Dependencies. * - * @var \string + * @var string * @since 1.0.0 */ protected static $dependencies = [ @@ -321,7 +321,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/AccountAbstract.php b/Models/AccountAbstract.php index 4ee0bf1..e961c39 100644 --- a/Models/AccountAbstract.php +++ b/Models/AccountAbstract.php @@ -33,7 +33,7 @@ abstract class AccountAbstract implements AccountInterface /** * Account ID. * - * @var \int + * @var int * @since 1.0.0 */ protected $id = 0; @@ -57,7 +57,7 @@ abstract class AccountAbstract implements AccountInterface /** * Constructor. * - * @param \int $id Account ID + * @param int $id Account ID * * @since 1.0.0 * @author Dennis Eichhorn @@ -70,7 +70,7 @@ abstract class AccountAbstract implements AccountInterface /** * Get entry. * - * @param \int $id Entry ID + * @param int $id Entry ID * * @return void * @@ -86,7 +86,7 @@ abstract class AccountAbstract implements AccountInterface * * @param \DateTime $start Interval start * @param \DateTime $end Interval end - * @param \int $dateType + * @param int $dateType * * @internal \Modules\Accounting\Models\TimeRangeType $dateTime Time range type * diff --git a/Models/AccountBalance.php b/Models/AccountBalance.php index a6d829d..d73d8ce 100644 --- a/Models/AccountBalance.php +++ b/Models/AccountBalance.php @@ -32,7 +32,7 @@ abstract class AccountBalance /** * Id. * - * @var \int + * @var int * @since 1.0.0 */ private $id = null; @@ -72,7 +72,7 @@ abstract class AccountBalance /** * Balance. * - * @var \float + * @var float * @since 1.0.0 */ private $balance = null; @@ -80,12 +80,12 @@ abstract class AccountBalance /** * Constructor. * - * @param \int $id Account id + * @param int $id Account id * * @since 1.0.0 * @author Dennis Eichhorn */ - public function __construct(\int $id) + public function __construct(int $id) { $this->id = $id; } @@ -187,7 +187,7 @@ abstract class AccountBalance } /** - * @return \float + * @return float * * @since 1.0.0 * @author Dennis Eichhorn @@ -198,7 +198,7 @@ abstract class AccountBalance } /** - * @param \float $balance + * @param float $balance * * @return void * diff --git a/Models/AccountInterface.php b/Models/AccountInterface.php index 62570a1..2a0ca2e 100644 --- a/Models/AccountInterface.php +++ b/Models/AccountInterface.php @@ -34,7 +34,7 @@ interface AccountInterface * * This function gets all groups in a range * - * @return \float + * @return float * * @since 1.0.0 * @author Dennis Eichhorn diff --git a/Models/Balance.php b/Models/Balance.php index 7697a4b..c39940f 100644 --- a/Models/Balance.php +++ b/Models/Balance.php @@ -34,7 +34,7 @@ abstract class Balance implements ExchangeInterface /** * ID. * - * @var \int + * @var int * @since 1.0.0 */ private $id = 0; @@ -75,7 +75,7 @@ abstract class Balance implements ExchangeInterface } /** - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn @@ -86,7 +86,7 @@ abstract class Balance implements ExchangeInterface } /** - * @param \int $id + * @param int $id * * @return void * diff --git a/Models/BatchPosting.php b/Models/BatchPosting.php index b2127c0..701551a 100644 --- a/Models/BatchPosting.php +++ b/Models/BatchPosting.php @@ -34,7 +34,7 @@ class BatchPosting implements ExchangeInterface, \Countable /** * ID. * - * @var \int + * @var int * @since 1.0.0 */ private $id = 0; @@ -42,7 +42,7 @@ class BatchPosting implements ExchangeInterface, \Countable /** * Creator. * - * @var \int + * @var int * @since 1.0.0 */ private $creator = null; @@ -58,7 +58,7 @@ class BatchPosting implements ExchangeInterface, \Countable /** * Description. * - * @var \string + * @var string * @since 1.0.0 */ private $description = null; @@ -84,7 +84,7 @@ class BatchPosting implements ExchangeInterface, \Countable /** * Get id. * - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn @@ -97,7 +97,7 @@ class BatchPosting implements ExchangeInterface, \Countable /** * Set id. * - * @param \int $id Batch ID + * @param int $id Batch ID * * @return void * @@ -112,7 +112,7 @@ class BatchPosting implements ExchangeInterface, \Countable /** * Get description. * - * @return \string + * @return string * * @since 1.0.0 * @author Dennis Eichhorn @@ -125,7 +125,7 @@ class BatchPosting implements ExchangeInterface, \Countable /** * Set description. * - * @param \string $desc Description + * @param string $desc Description * * @return void * @@ -167,7 +167,7 @@ class BatchPosting implements ExchangeInterface, \Countable /** * Get creator. * - * @return \int + * @return int * * @since 1.0.0 * @author Dennis Eichhorn @@ -180,7 +180,7 @@ class BatchPosting implements ExchangeInterface, \Countable /** * Set creator. * - * @param \int $creator Creator ID + * @param int $creator Creator ID * * @return void * @@ -195,7 +195,7 @@ class BatchPosting implements ExchangeInterface, \Countable /** * Get posting. * - * @param \int $id Posting ID + * @param int $id Posting ID * * @return \Modules\Accounting\Models\PostingAbstract * @@ -210,7 +210,7 @@ class BatchPosting implements ExchangeInterface, \Countable /** * Remove posting. * - * @param \int $id Posting ID + * @param int $id Posting ID * * @return void *