fix phpcs findings

This commit is contained in:
Dennis Eichhorn 2019-09-12 19:48:00 +02:00
parent 85c758812d
commit 527c84c4d6
36 changed files with 371 additions and 351 deletions

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Admin\Install
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Admin\Install
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DatabasePool;
/**
* Navigation class.
*
* @package Modules\Accounting\Admin\Install
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Admin\Install
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class Navigation
{
@ -34,7 +34,7 @@ class Navigation
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public static function install(string $path, DatabasePool $dbPool) : void
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Admin
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Admin
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\Module\InstallerAbstract;
/**
* Installer class.
*
* @package Modules\Accounting\Admin
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Admin
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class Installer extends InstallerAbstract
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Admin
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Admin
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\Module\StatusAbstract;
/**
* Navigation class.
*
* @package Modules\Accounting\Admin
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Admin
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class Status extends StatusAbstract
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Admin
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Admin
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\Module\UninstallerAbstract;
/**
* Uninstaller class.
*
* @package Modules\Accounting\Admin
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Admin
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class Uninstaller extends UninstallerAbstract
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Admin
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Admin
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\Module\UpdaterAbstract;
/**
* Updater class.
*
* @package Modules\Accounting\Admin
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Admin
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class Updater extends UpdaterAbstract
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -22,22 +22,24 @@ use phpOMS\Views\View;
/**
* Accounting class.
*
* @package Modules\Accounting
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
final class BackendController extends Controller
{
/**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewEntries(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -50,13 +52,15 @@ final class BackendController extends Controller
}
/**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewJournalList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -69,13 +73,15 @@ final class BackendController extends Controller
}
/**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewStackList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -88,13 +94,15 @@ final class BackendController extends Controller
}
/**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewStackPredefinedList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -107,13 +115,15 @@ final class BackendController extends Controller
}
/**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewStackCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -126,13 +136,15 @@ final class BackendController extends Controller
}
/**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewStackEntries(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -145,13 +157,15 @@ final class BackendController extends Controller
}
/**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewStackArchiveList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -164,13 +178,15 @@ final class BackendController extends Controller
}
/**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewGLList(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -183,13 +199,15 @@ final class BackendController extends Controller
}
/**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewGLCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface
@ -202,13 +220,15 @@ final class BackendController extends Controller
}
/**
* Routing end-point for application behaviour.
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param mixed $data Generic data
*
* @return RenderableInterface
*
* @since 1.0.0
* @since 1.0.0
* @codeCoverageIgnore
*/
public function viewGLProfile(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -20,10 +20,10 @@ use phpOMS\Module\WebInterface;
/**
* Accounting class.
*
* @package Modules\Accounting
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class Controller extends ModuleAbstract implements WebInterface
{
@ -31,7 +31,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module path.
*
* @var string
* @var string
* @since 1.0.0
*/
public const MODULE_PATH = __DIR__ . '/../';
@ -39,7 +39,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module version.
*
* @var string
* @var string
* @since 1.0.0
*/
public const MODULE_VERSION = '1.0.0';
@ -47,7 +47,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module name.
*
* @var string
* @var string
* @since 1.0.0
*/
public const MODULE_NAME = 'Accounting';
@ -55,7 +55,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Module id.
*
* @var int
* @var int
* @since 1.0.0
*/
public const MODULE_ID = 1002600000;
@ -63,7 +63,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Providing.
*
* @var string[]
* @var string[]
* @since 1.0.0
*/
protected static array $providing = [];
@ -71,7 +71,7 @@ class Controller extends ModuleAbstract implements WebInterface
/**
* Dependencies.
*
* @var string[]
* @var string[]
* @since 1.0.0
*/
protected static array $dependencies = [

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Accounting\Models;
/**
* Account abstraction class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
abstract class AccountAbstract
{
@ -28,7 +28,7 @@ abstract class AccountAbstract
/**
* Account ID.
*
* @var int
* @var int
* @since 1.0.0
*/
protected int $id = 0;
@ -36,7 +36,7 @@ abstract class AccountAbstract
/**
* Type.
*
* @var int
* @var int
* @since 1.0.0
*/
protected int $type = AccountType::IMPERSONAL;
@ -44,7 +44,7 @@ abstract class AccountAbstract
/**
* Entry list.
*
* @var EntryInterface[]
* @var EntryInterface[]
* @since 1.0.0
*/
protected array $entries = [];
@ -54,7 +54,7 @@ abstract class AccountAbstract
*
* @param int $id Account ID
*
* @since 1.0.0
* @since 1.0.0
*/
public function __construct(int $id = 0)
{
@ -66,7 +66,7 @@ abstract class AccountAbstract
*
* @return int
*
* @since 1.0.0
* @since 1.0.0
*/
public function getId() : int
{
@ -80,7 +80,7 @@ abstract class AccountAbstract
*
* @return null|EntryInterface
*
* @since 1.0.0
* @since 1.0.0
*/
public function getEntryById(int $id) : ?EntryInterface
{
@ -96,7 +96,7 @@ abstract class AccountAbstract
*
* @return array
*
* @since 1.0.0
* @since 1.0.0
*/
public function getEntriesByDate(\DateTime $start, \DateTime $end, int $dateType = TimeRangeType::RECEIPT_DATE) : array
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum;
/**
* Account type enum.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
abstract class AccountType extends Enum
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Accounting\Models;
/**
* Balance class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class Balance
{
@ -28,7 +28,7 @@ class Balance
/**
* ID.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $id = 0;
@ -36,7 +36,7 @@ class Balance
/**
* Balance data.
*
* @var array
* @var array
* @since 1.0.0
*/
private array $balance = [];
@ -44,7 +44,7 @@ class Balance
/**
* Balance name.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $name = '';
@ -52,7 +52,7 @@ class Balance
/**
* Balance description.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $description = '';
@ -62,7 +62,7 @@ class Balance
*
* @return int
*
* @since 1.0.0
* @since 1.0.0
*/
public function getId() : int
{
@ -76,7 +76,7 @@ class Balance
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public function setName(string $name) : void
{
@ -88,7 +88,7 @@ class Balance
*
* @return string
*
* @since 1.0.0
* @since 1.0.0
*/
public function getName() : string
{
@ -102,7 +102,7 @@ class Balance
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public function setDescription(string $description) : void
{
@ -114,7 +114,7 @@ class Balance
*
* @return string
*
* @since 1.0.0
* @since 1.0.0
*/
public function getDescription() : string
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Accounting\Models;
/**
* BatchPosting class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class BatchPosting implements \Countable
{
@ -28,7 +28,7 @@ class BatchPosting implements \Countable
/**
* ID.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $id = 0;
@ -36,7 +36,7 @@ class BatchPosting implements \Countable
/**
* Creator.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $creator = 0;
@ -44,7 +44,7 @@ class BatchPosting implements \Countable
/**
* Created.
*
* @var null|\DateTime
* @var null|\DateTime
* @since 1.0.0
*/
private ?\DateTime $created = null;
@ -52,7 +52,7 @@ class BatchPosting implements \Countable
/**
* Description.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $description = '';
@ -60,7 +60,7 @@ class BatchPosting implements \Countable
/**
* Postings.
*
* @var PostingAbstract[]
* @var PostingAbstract[]
* @since 1.0.0
*/
private $postings = [];
@ -68,7 +68,7 @@ class BatchPosting implements \Countable
/**
* Constructor.
*
* @since 1.0.0
* @since 1.0.0
*/
public function __construct()
{
@ -80,7 +80,7 @@ class BatchPosting implements \Countable
*
* @return int
*
* @since 1.0.0
* @since 1.0.0
*/
public function getId() : int
{
@ -92,7 +92,7 @@ class BatchPosting implements \Countable
*
* @return string
*
* @since 1.0.0
* @since 1.0.0
*/
public function getDescription() : string
{
@ -106,7 +106,7 @@ class BatchPosting implements \Countable
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public function setDescription(string $desc) : void
{
@ -118,7 +118,7 @@ class BatchPosting implements \Countable
*
* @return \DateTime
*
* @since 1.0.0
* @since 1.0.0
*/
public function getCreatedAt() : \DateTime
{
@ -130,7 +130,7 @@ class BatchPosting implements \Countable
*
* @return int
*
* @since 1.0.0
* @since 1.0.0
*/
public function getCreator()
{
@ -144,7 +144,7 @@ class BatchPosting implements \Countable
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public function setCreator($creator) : void
{
@ -158,7 +158,7 @@ class BatchPosting implements \Countable
*
* @return null|PostingAbstract
*
* @since 1.0.0
* @since 1.0.0
*/
public function getPosting(int $id) : ?PostingAbstract
{
@ -172,7 +172,7 @@ class BatchPosting implements \Countable
*
* @return bool
*
* @since 1.0.0
* @since 1.0.0
*/
public function removePosting($id) : bool
{
@ -192,7 +192,7 @@ class BatchPosting implements \Countable
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public function addPosting(PostingAbstract $posting) : void
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -17,17 +17,17 @@ namespace Modules\Accounting\Models;
/**
* BatchPosting class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class CostCenter
{
/**
* ID.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $id = 0;
@ -35,7 +35,7 @@ class CostCenter
/**
* Code.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $code = '';
@ -43,7 +43,7 @@ class CostCenter
/**
* Name.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $name = '';
@ -51,7 +51,7 @@ class CostCenter
/**
* Description.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $description = '';
@ -61,7 +61,7 @@ class CostCenter
*
* @return int
*
* @since 1.0.0
* @since 1.0.0
*/
public function getId() : int
{
@ -75,7 +75,7 @@ class CostCenter
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public function setCode(string $code) : void
{
@ -87,7 +87,7 @@ class CostCenter
*
* @return string
*
* @since 1.0.0
* @since 1.0.0
*/
public function getCode() : string
{
@ -101,7 +101,7 @@ class CostCenter
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public function setName(string $name) : void
{
@ -113,7 +113,7 @@ class CostCenter
*
* @return string
*
* @since 1.0.0
* @since 1.0.0
*/
public function getName() : string
{
@ -127,7 +127,7 @@ class CostCenter
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public function setDescription(string $description) : void
{
@ -139,7 +139,7 @@ class CostCenter
*
* @return string
*
* @since 1.0.0
* @since 1.0.0
*/
public function getDescription() : string
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -17,17 +17,17 @@ namespace Modules\Accounting\Models;
/**
* BatchPosting class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class CostObject
{
/**
* ID.
*
* @var int
* @var int
* @since 1.0.0
*/
private int $id = 0;
@ -35,7 +35,7 @@ class CostObject
/**
* Code.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $code = '';
@ -43,7 +43,7 @@ class CostObject
/**
* Name.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $name = '';
@ -51,7 +51,7 @@ class CostObject
/**
* Description.
*
* @var string
* @var string
* @since 1.0.0
*/
private string $description = '';
@ -61,7 +61,7 @@ class CostObject
*
* @return int
*
* @since 1.0.0
* @since 1.0.0
*/
public function getId() : int
{
@ -75,7 +75,7 @@ class CostObject
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public function setCode(string $code) : void
{
@ -87,7 +87,7 @@ class CostObject
*
* @return string
*
* @since 1.0.0
* @since 1.0.0
*/
public function getCode() : string
{
@ -101,7 +101,7 @@ class CostObject
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public function setName(string $name) : void
{
@ -113,7 +113,7 @@ class CostObject
*
* @return string
*
* @since 1.0.0
* @since 1.0.0
*/
public function getName() : string
{
@ -127,7 +127,7 @@ class CostObject
*
* @return void
*
* @since 1.0.0
* @since 1.0.0
*/
public function setDescription(string $description) : void
{
@ -139,7 +139,7 @@ class CostObject
*
* @return string
*
* @since 1.0.0
* @since 1.0.0
*/
public function getDescription() : string
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -19,10 +19,10 @@ use Modules\Admin\Models\Account;
/**
* Creditor class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class Creditor
{
@ -30,7 +30,7 @@ class Creditor
/**
* Creditor ID.
*
* @var int
* @var int
* @since 1.0.0
*/
protected int $id = 0;
@ -38,7 +38,7 @@ class Creditor
/**
* Account.
*
* @var null|int|phpOMS/Account/Account
* @var null|int|phpOMS/Account/Account
* @since 1.0.0
*/
protected $account = null;
@ -48,7 +48,7 @@ class Creditor
*
* @return int
*
* @since 1.0.0
* @since 1.0.0
*/
public function getId() : int
{
@ -60,7 +60,7 @@ class Creditor
*
* @return null|int|Account
*
* @since 1.0.0
* @since 1.0.0
*/
public function getAccount()
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -19,10 +19,10 @@ use Modules\Admin\Models\Account;
/**
* Debitor class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class Debitor
{
@ -30,7 +30,7 @@ class Debitor
/**
* Debitor ID.
*
* @var int
* @var int
* @since 1.0.0
*/
protected int $id = 0;
@ -38,7 +38,7 @@ class Debitor
/**
* Account.
*
* @var null|int|phpOMS/Account/Account
* @var null|int|phpOMS/Account/Account
* @since 1.0.0
*/
protected $account = null;
@ -48,7 +48,7 @@ class Debitor
*
* @return int
*
* @since 1.0.0
* @since 1.0.0
*/
public function getId() : int
{
@ -60,7 +60,7 @@ class Debitor
*
* @return null|int|Account
*
* @since 1.0.0
* @since 1.0.0
*/
public function getAccount()
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Accounting\Models;
/**
* Entry interface.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
interface EntryInterface
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Accounting\Models;
/**
* IncomeStatement class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class IncomeStatement
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Accounting\Models;
/**
* Invoice posting class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class InvoicePosting extends PostingAbstract
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum;
/**
* Permision state enum.
*
* @package Modules\Accounting
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
abstract class PermissionState extends Enum
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Accounting\Models;
/**
* Posting class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
abstract class Posting extends PostingAbstract
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Accounting\Models;
/**
* Posting abstract class.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
abstract class PostingAbstract implements PostingInterface
{
@ -28,7 +28,7 @@ abstract class PostingAbstract implements PostingInterface
/**
* Constructor.
*
* @since 1.0.0
* @since 1.0.0
*/
public function __construct()
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -17,10 +17,10 @@ namespace Modules\Accounting\Models;
/**
* Posting interface.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
interface PostingInterface
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package Modules\Accounting\Models
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum;
/**
* Time range type enum.
*
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
* @package Modules\Accounting\Models
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
abstract class TimeRangeType extends Enum
{

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
return ['Navigation' => [
'Accounting' => 'Accounting',

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
$MODLANG[1] = [
];

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
return ['Accounting' => [
'Account' => 'Account',

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
//echo $this->getData('nav')->render();

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
echo $this->getData('nav')->render(); ?>

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
/**
* @var \phpOMS\Views\View $this

View File

@ -4,10 +4,10 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
echo $this->getData('nav')->render();

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
/**
* @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
/**
* @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
/**
* @var \phpOMS\Views\View $this

View File

@ -4,10 +4,10 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
echo $this->getData('nav')->render();

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
/**
* @var \phpOMS\Views\View $this

View File

@ -4,11 +4,11 @@
*
* PHP Version 7.4
*
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
* @package TBD
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
/**
* @var \phpOMS\Views\View $this