mirror of
https://github.com/Karaka-Management/oms-Accounting.git
synced 2026-02-14 11:38:40 +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.
|
* Module path.
|
||||||
*
|
*
|
||||||
* @var \string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
const MODULE_PATH = __DIR__;
|
const MODULE_PATH = __DIR__;
|
||||||
|
|
@ -51,7 +51,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
/**
|
/**
|
||||||
* Module version.
|
* Module version.
|
||||||
*
|
*
|
||||||
* @var \string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
const MODULE_VERSION = '1.0.0';
|
const MODULE_VERSION = '1.0.0';
|
||||||
|
|
@ -59,7 +59,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
/**
|
/**
|
||||||
* Module name.
|
* Module name.
|
||||||
*
|
*
|
||||||
* @var \string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
const MODULE_NAME = 'Accounting';
|
const MODULE_NAME = 'Accounting';
|
||||||
|
|
@ -67,7 +67,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
/**
|
/**
|
||||||
* Localization files.
|
* Localization files.
|
||||||
*
|
*
|
||||||
* @var \string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $localization = [
|
protected static $localization = [
|
||||||
|
|
@ -106,7 +106,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
/**
|
/**
|
||||||
* Providing.
|
* Providing.
|
||||||
*
|
*
|
||||||
* @var \string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $providing = [];
|
protected static $providing = [];
|
||||||
|
|
@ -114,7 +114,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
/**
|
/**
|
||||||
* Dependencies.
|
* Dependencies.
|
||||||
*
|
*
|
||||||
* @var \string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $dependencies = [
|
protected static $dependencies = [
|
||||||
|
|
@ -321,7 +321,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @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);
|
$nav = Navigation::getInstance($request, $this->app->dbPool);
|
||||||
$navView = new NavigationView($this->app, $request, $response);
|
$navView = new NavigationView($this->app, $request, $response);
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,7 @@ abstract class AccountAbstract implements AccountInterface
|
||||||
/**
|
/**
|
||||||
* Account ID.
|
* Account ID.
|
||||||
*
|
*
|
||||||
* @var \int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $id = 0;
|
protected $id = 0;
|
||||||
|
|
@ -57,7 +57,7 @@ abstract class AccountAbstract implements AccountInterface
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param \int $id Account ID
|
* @param int $id Account ID
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
|
@ -70,7 +70,7 @@ abstract class AccountAbstract implements AccountInterface
|
||||||
/**
|
/**
|
||||||
* Get entry.
|
* Get entry.
|
||||||
*
|
*
|
||||||
* @param \int $id Entry ID
|
* @param int $id Entry ID
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
|
|
@ -86,7 +86,7 @@ abstract class AccountAbstract implements AccountInterface
|
||||||
*
|
*
|
||||||
* @param \DateTime $start Interval start
|
* @param \DateTime $start Interval start
|
||||||
* @param \DateTime $end Interval end
|
* @param \DateTime $end Interval end
|
||||||
* @param \int $dateType
|
* @param int $dateType
|
||||||
*
|
*
|
||||||
* @internal \Modules\Accounting\Models\TimeRangeType $dateTime Time range type
|
* @internal \Modules\Accounting\Models\TimeRangeType $dateTime Time range type
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ abstract class AccountBalance
|
||||||
/**
|
/**
|
||||||
* Id.
|
* Id.
|
||||||
*
|
*
|
||||||
* @var \int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $id = null;
|
private $id = null;
|
||||||
|
|
@ -72,7 +72,7 @@ abstract class AccountBalance
|
||||||
/**
|
/**
|
||||||
* Balance.
|
* Balance.
|
||||||
*
|
*
|
||||||
* @var \float
|
* @var float
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $balance = null;
|
private $balance = null;
|
||||||
|
|
@ -80,12 +80,12 @@ abstract class AccountBalance
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
*
|
*
|
||||||
* @param \int $id Account id
|
* @param int $id Account id
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
*/
|
*/
|
||||||
public function __construct(\int $id)
|
public function __construct(int $id)
|
||||||
{
|
{
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
}
|
}
|
||||||
|
|
@ -187,7 +187,7 @@ abstract class AccountBalance
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return \float
|
* @return float
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
|
@ -198,7 +198,7 @@ abstract class AccountBalance
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param \float $balance
|
* @param float $balance
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ interface AccountInterface
|
||||||
*
|
*
|
||||||
* This function gets all groups in a range
|
* This function gets all groups in a range
|
||||||
*
|
*
|
||||||
* @return \float
|
* @return float
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ abstract class Balance implements ExchangeInterface
|
||||||
/**
|
/**
|
||||||
* ID.
|
* ID.
|
||||||
*
|
*
|
||||||
* @var \int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $id = 0;
|
private $id = 0;
|
||||||
|
|
@ -75,7 +75,7 @@ abstract class Balance implements ExchangeInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return \int
|
* @return int
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
|
@ -86,7 +86,7 @@ abstract class Balance implements ExchangeInterface
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param \int $id
|
* @param int $id
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@ class BatchPosting implements ExchangeInterface, \Countable
|
||||||
/**
|
/**
|
||||||
* ID.
|
* ID.
|
||||||
*
|
*
|
||||||
* @var \int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $id = 0;
|
private $id = 0;
|
||||||
|
|
@ -42,7 +42,7 @@ class BatchPosting implements ExchangeInterface, \Countable
|
||||||
/**
|
/**
|
||||||
* Creator.
|
* Creator.
|
||||||
*
|
*
|
||||||
* @var \int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $creator = null;
|
private $creator = null;
|
||||||
|
|
@ -58,7 +58,7 @@ class BatchPosting implements ExchangeInterface, \Countable
|
||||||
/**
|
/**
|
||||||
* Description.
|
* Description.
|
||||||
*
|
*
|
||||||
* @var \string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $description = null;
|
private $description = null;
|
||||||
|
|
@ -84,7 +84,7 @@ class BatchPosting implements ExchangeInterface, \Countable
|
||||||
/**
|
/**
|
||||||
* Get id.
|
* Get id.
|
||||||
*
|
*
|
||||||
* @return \int
|
* @return int
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
|
@ -97,7 +97,7 @@ class BatchPosting implements ExchangeInterface, \Countable
|
||||||
/**
|
/**
|
||||||
* Set id.
|
* Set id.
|
||||||
*
|
*
|
||||||
* @param \int $id Batch ID
|
* @param int $id Batch ID
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
|
|
@ -112,7 +112,7 @@ class BatchPosting implements ExchangeInterface, \Countable
|
||||||
/**
|
/**
|
||||||
* Get description.
|
* Get description.
|
||||||
*
|
*
|
||||||
* @return \string
|
* @return string
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
|
@ -125,7 +125,7 @@ class BatchPosting implements ExchangeInterface, \Countable
|
||||||
/**
|
/**
|
||||||
* Set description.
|
* Set description.
|
||||||
*
|
*
|
||||||
* @param \string $desc Description
|
* @param string $desc Description
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
|
|
@ -167,7 +167,7 @@ class BatchPosting implements ExchangeInterface, \Countable
|
||||||
/**
|
/**
|
||||||
* Get creator.
|
* Get creator.
|
||||||
*
|
*
|
||||||
* @return \int
|
* @return int
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||||
|
|
@ -180,7 +180,7 @@ class BatchPosting implements ExchangeInterface, \Countable
|
||||||
/**
|
/**
|
||||||
* Set creator.
|
* Set creator.
|
||||||
*
|
*
|
||||||
* @param \int $creator Creator ID
|
* @param int $creator Creator ID
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
|
|
@ -195,7 +195,7 @@ class BatchPosting implements ExchangeInterface, \Countable
|
||||||
/**
|
/**
|
||||||
* Get posting.
|
* Get posting.
|
||||||
*
|
*
|
||||||
* @param \int $id Posting ID
|
* @param int $id Posting ID
|
||||||
*
|
*
|
||||||
* @return \Modules\Accounting\Models\PostingAbstract
|
* @return \Modules\Accounting\Models\PostingAbstract
|
||||||
*
|
*
|
||||||
|
|
@ -210,7 +210,7 @@ class BatchPosting implements ExchangeInterface, \Countable
|
||||||
/**
|
/**
|
||||||
* Remove posting.
|
* Remove posting.
|
||||||
*
|
*
|
||||||
* @param \int $id Posting ID
|
* @param int $id Posting ID
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user