From 4497e32dc2ee0f0da3c7d2f1dd504637db7c7738 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 12 Sep 2019 19:48:00 +0200 Subject: [PATCH] fix phpcs findings --- Admin/Install/Navigation.php | 20 ++++----- Admin/Installer.php | 18 ++++---- Admin/Status.php | 18 ++++---- Admin/Uninstaller.php | 18 ++++---- Admin/Updater.php | 18 ++++---- Controller/ApiController.php | 32 +++++++-------- Controller/BackendController.php | 22 +++++----- Controller/Controller.php | 30 +++++++------- Models/DashboardBoard.php | 50 +++++++++++------------ Models/DashboardBoardMapper.php | 28 ++++++------- Models/DashboardBoardStatus.php | 18 ++++---- Models/DashboardComponent.php | 46 ++++++++++----------- Models/DashboardComponentMapper.php | 26 ++++++------ Models/NullDashboardBoard.php | 18 ++++---- Models/NullDashboardComponent.php | 18 ++++---- Models/PermissionState.php | 18 ++++---- Theme/Backend/Lang/Navigation.en.lang.php | 10 ++--- 17 files changed, 205 insertions(+), 203 deletions(-) diff --git a/Admin/Install/Navigation.php b/Admin/Install/Navigation.php index 22c0fec..ae7336f 100644 --- a/Admin/Install/Navigation.php +++ b/Admin/Install/Navigation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard\Admin\Install - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard\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\Dashboard\Admin\Install - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard\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 { diff --git a/Admin/Installer.php b/Admin/Installer.php index 4366ed2..300b4b4 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard\Admin + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -24,10 +24,10 @@ use phpOMS\Module\InstallerAbstract; /** * Installer class. * - * @package Modules\Dashboard\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Installer extends InstallerAbstract { diff --git a/Admin/Status.php b/Admin/Status.php index fa963ce..9e9c274 100644 --- a/Admin/Status.php +++ b/Admin/Status.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard\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\Dashboard\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Status extends StatusAbstract { diff --git a/Admin/Uninstaller.php b/Admin/Uninstaller.php index a177ef4..0e4a58c 100644 --- a/Admin/Uninstaller.php +++ b/Admin/Uninstaller.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard\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\Dashboard\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Uninstaller extends UninstallerAbstract { diff --git a/Admin/Updater.php b/Admin/Updater.php index c8d57cb..402e104 100644 --- a/Admin/Updater.php +++ b/Admin/Updater.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard\Admin - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard\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\Dashboard\Admin - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard\Admin + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Updater extends UpdaterAbstract { diff --git a/Controller/ApiController.php b/Controller/ApiController.php index d9c0335..9503320 100644 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -28,10 +28,10 @@ use phpOMS\Model\Message\FormValidation; /** * Api controller for the dashboard module. * - * @package Modules\Dashboard - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class ApiController extends Controller { @@ -42,7 +42,7 @@ final class ApiController extends Controller * * @return array Returns the validation array of the request * - * @since 1.0.0 + * @since 1.0.0 */ private function validateBoardCreate(RequestAbstract $request) : array { @@ -66,7 +66,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiBoardCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -88,7 +88,7 @@ final class ApiController extends Controller * * @return DashboardBoard Returns the created board from the request * - * @since 1.0.0 + * @since 1.0.0 */ private function createBoardFromRequest(RequestAbstract $request) : DashboardBoard { @@ -107,7 +107,7 @@ final class ApiController extends Controller * * @return array Returns the validation array of the request * - * @since 1.0.0 + * @since 1.0.0 */ private function validateComponentCreate(RequestAbstract $request) : array { @@ -132,7 +132,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiComponentCreate(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { @@ -154,7 +154,7 @@ final class ApiController extends Controller * * @return DashboardComponent Returns the created board from the request * - * @since 1.0.0 + * @since 1.0.0 */ private function createComponentFromRequest(RequestAbstract $request) : DashboardComponent { @@ -177,7 +177,7 @@ final class ApiController extends Controller * * @api * - * @since 1.0.0 + * @since 1.0.0 */ public function apiComponentAdd(RequestAbstract $request, ResponseAbstract $response, $data = null) : void { diff --git a/Controller/BackendController.php b/Controller/BackendController.php index 611f3d2..ef08f9b 100644 --- a/Controller/BackendController.php +++ b/Controller/BackendController.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -25,21 +25,23 @@ use phpOMS\Views\View; /** * Dashboard class. * - * @package Modules\Dashboard - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard + * @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 viewDashboard(RequestAbstract $request, ResponseAbstract $response, $data = null) : RenderableInterface diff --git a/Controller/Controller.php b/Controller/Controller.php index 6544158..2b924c8 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard + * @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; /** * Dashboard class. * - * @package Modules\Dashboard - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard + * @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 = 'Dashboard'; @@ -55,7 +55,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module id. * - * @var int + * @var int * @since 1.0.0 */ public const MODULE_ID = 1000200000; @@ -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 = []; diff --git a/Models/DashboardBoard.php b/Models/DashboardBoard.php index 8e95992..f496c1a 100644 --- a/Models/DashboardBoard.php +++ b/Models/DashboardBoard.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\Stdlib\Base\Exception\InvalidEnumValue; /** * DashboardBoard class. * - * @package Modules\Dashboard - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class DashboardBoard implements \JsonSerializable { /** * ID. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -37,7 +37,7 @@ class DashboardBoard implements \JsonSerializable /** * Title. * - * @var string + * @var string * @since 1.0.0 */ protected string $title = ''; @@ -45,7 +45,7 @@ class DashboardBoard implements \JsonSerializable /** * Account. * - * @var null|int + * @var null|int * @since 1.0.0 */ protected $account = null; @@ -53,7 +53,7 @@ class DashboardBoard implements \JsonSerializable /** * Status. * - * @var int + * @var int * @since 1.0.0 */ protected int $status = DashboardBoardStatus::ACTIVE; @@ -61,7 +61,7 @@ class DashboardBoard implements \JsonSerializable /** * Dashboard component. * - * @var DashboardComponent[] + * @var DashboardComponent[] * @since 1.0.0 */ protected array $components = []; @@ -71,7 +71,7 @@ class DashboardBoard implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -83,7 +83,7 @@ class DashboardBoard implements \JsonSerializable * * @return null|int * - * @since 1.0.0 + * @since 1.0.0 */ public function getAccount() { @@ -97,7 +97,7 @@ class DashboardBoard implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setAccount($id) : void { @@ -109,7 +109,7 @@ class DashboardBoard implements \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getTitle() : string { @@ -123,7 +123,7 @@ class DashboardBoard implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setTitle(string $title) : void { @@ -135,7 +135,7 @@ class DashboardBoard implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getStatus() : int { @@ -151,7 +151,7 @@ class DashboardBoard implements \JsonSerializable * * @throws InvalidEnumValue * - * @since 1.0.0 + * @since 1.0.0 */ public function setStatus(int $status) : void { @@ -169,7 +169,7 @@ class DashboardBoard implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function addComponent(DashboardComponent $element) : int { @@ -189,7 +189,7 @@ class DashboardBoard implements \JsonSerializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function removeComponent($id) : bool { @@ -207,7 +207,7 @@ class DashboardBoard implements \JsonSerializable * * @return DashboardComponent[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getComponents() : array { @@ -221,7 +221,7 @@ class DashboardBoard implements \JsonSerializable * * @return DashboardComponent * - * @since 1.0.0 + * @since 1.0.0 */ public function getComponent(int $id) : DashboardComponent { diff --git a/Models/DashboardBoardMapper.php b/Models/DashboardBoardMapper.php index b310717..324dc82 100644 --- a/Models/DashboardBoardMapper.php +++ b/Models/DashboardBoardMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,17 +20,17 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Dashboard - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class DashboardBoardMapper extends DataMapperAbstract { /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -43,7 +43,7 @@ final class DashboardBoardMapper extends DataMapperAbstract /** * Has many relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $hasMany = [ @@ -58,7 +58,7 @@ final class DashboardBoardMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -71,7 +71,7 @@ final class DashboardBoardMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'dashboard_board'; @@ -79,7 +79,7 @@ final class DashboardBoardMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'dashboard_board_id'; diff --git a/Models/DashboardBoardStatus.php b/Models/DashboardBoardStatus.php index 11c2d88..4b66b9b 100644 --- a/Models/DashboardBoardStatus.php +++ b/Models/DashboardBoardStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard + * @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; /** * DashboardBoard status enum. * - * @package Modules\Dashboard - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class DashboardBoardStatus extends Enum { diff --git a/Models/DashboardComponent.php b/Models/DashboardComponent.php index b192ea6..98b0277 100644 --- a/Models/DashboardComponent.php +++ b/Models/DashboardComponent.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard + * @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\Dashboard\Models; /** * DashboardBoard class. * - * @package Modules\Dashboard - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class DashboardComponent implements \JsonSerializable { /** * ID. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -35,7 +35,7 @@ class DashboardComponent implements \JsonSerializable /** * Order. * - * @var int + * @var int * @since 1.0.0 */ protected int $order = 0; @@ -43,7 +43,7 @@ class DashboardComponent implements \JsonSerializable /** * Board. * - * @var int|DashboardBoard + * @var int|DashboardBoard * @since 1.0.0 */ protected $board = 0; @@ -51,7 +51,7 @@ class DashboardComponent implements \JsonSerializable /** * Module. * - * @var string + * @var string * @since 1.0.0 */ protected string $module = ''; @@ -59,7 +59,7 @@ class DashboardComponent implements \JsonSerializable /** * Component. * - * @var string + * @var string * @since 1.0.0 */ protected string $component = ''; @@ -69,7 +69,7 @@ class DashboardComponent implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -81,7 +81,7 @@ class DashboardComponent implements \JsonSerializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getOrder() : int { @@ -95,7 +95,7 @@ class DashboardComponent implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setOrder(int $order) : void { @@ -107,7 +107,7 @@ class DashboardComponent implements \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getComponent() : string { @@ -121,7 +121,7 @@ class DashboardComponent implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setComponent(string $component) : void { @@ -133,7 +133,7 @@ class DashboardComponent implements \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getModule() : string { @@ -147,7 +147,7 @@ class DashboardComponent implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setModule(string $module) : void { @@ -159,7 +159,7 @@ class DashboardComponent implements \JsonSerializable * * @return int|DashboardBoard * - * @since 1.0.0 + * @since 1.0.0 */ public function getBoard() { @@ -173,7 +173,7 @@ class DashboardComponent implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setBoard($id) : void { diff --git a/Models/DashboardComponentMapper.php b/Models/DashboardComponentMapper.php index 94fcd93..851f4c5 100644 --- a/Models/DashboardComponentMapper.php +++ b/Models/DashboardComponentMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package Modules\Dashboard - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class DashboardComponentMapper extends DataMapperAbstract { /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -43,7 +43,7 @@ final class DashboardComponentMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -56,7 +56,7 @@ final class DashboardComponentMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'dashboard_component'; @@ -64,7 +64,7 @@ final class DashboardComponentMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'dashboard_component_id'; diff --git a/Models/NullDashboardBoard.php b/Models/NullDashboardBoard.php index 73ca53e..2839f9c 100644 --- a/Models/NullDashboardBoard.php +++ b/Models/NullDashboardBoard.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard + * @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\Dashboard\Models; /** * Null model * - * @package Modules\Dashboard - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class NullDashboardBoard extends DashboardBoard { diff --git a/Models/NullDashboardComponent.php b/Models/NullDashboardComponent.php index 7ce7ddf..8d56285 100644 --- a/Models/NullDashboardComponent.php +++ b/Models/NullDashboardComponent.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard + * @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\Dashboard\Models; /** * Null model * - * @package Modules\Dashboard - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class NullDashboardComponent extends DashboardComponent { diff --git a/Models/PermissionState.php b/Models/PermissionState.php index ba3cb46..b7bf757 100644 --- a/Models/PermissionState.php +++ b/Models/PermissionState.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Modules\Dashboard - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Modules\Dashboard + * @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\Dashboard - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Modules\Dashboard + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PermissionState extends Enum { diff --git a/Theme/Backend/Lang/Navigation.en.lang.php b/Theme/Backend/Lang/Navigation.en.lang.php index 54781e8..0a81ab8 100644 --- a/Theme/Backend/Lang/Navigation.en.lang.php +++ b/Theme/Backend/Lang/Navigation.en.lang.php @@ -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' => [ 'Dashboard' => 'Dashboard',