Remove namespace from scalars

This commit is contained in:
Dennis Eichhorn 2016-01-23 10:17:21 +01:00
parent 4e0ed7f89c
commit 370271c445
6 changed files with 32 additions and 32 deletions

View File

@ -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 <d.eichhorn@oms.com>
*/
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);

View File

@ -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 <d.eichhorn@oms.com>
@ -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
*

View File

@ -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 <d.eichhorn@oms.com>
*/
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 <d.eichhorn@oms.com>
@ -198,7 +198,7 @@ abstract class AccountBalance
}
/**
* @param \float $balance
* @param float $balance
*
* @return void
*

View File

@ -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 <d.eichhorn@oms.com>

View File

@ -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 <d.eichhorn@oms.com>
@ -86,7 +86,7 @@ abstract class Balance implements ExchangeInterface
}
/**
* @param \int $id
* @param int $id
*
* @return void
*

View File

@ -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 <d.eichhorn@oms.com>
@ -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 <d.eichhorn@oms.com>
@ -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 <d.eichhorn@oms.com>
@ -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
*