mirror of
https://github.com/Karaka-Management/oms-Accounting.git
synced 2026-01-26 03:28:39 +00:00
Remove namespace from scalars
This commit is contained in:
parent
4e0ed7f89c
commit
370271c445
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user