diff --git a/Controller/Controller.php b/Controller/Controller.php index 4fe6a4c..3e28bb1 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -30,7 +30,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module path. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_PATH = __DIR__ . '/../'; @@ -38,7 +38,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module version. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_VERSION = '1.0.0'; @@ -46,7 +46,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module name. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_NAME = 'Dashboard'; @@ -54,7 +54,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Module id. * - * @var int + * @var int * @since 1.0.0 */ public const MODULE_ID = 1000200000; @@ -62,7 +62,7 @@ class Controller extends ModuleAbstract implements WebInterface /** * Providing. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $providing = []; @@ -70,7 +70,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 fd05629..e0eaeca 100644 --- a/Models/DashboardBoard.php +++ b/Models/DashboardBoard.php @@ -29,7 +29,7 @@ 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 = []; diff --git a/Models/DashboardBoardMapper.php b/Models/DashboardBoardMapper.php index 0f205a8..30b83fd 100644 --- a/Models/DashboardBoardMapper.php +++ b/Models/DashboardBoardMapper.php @@ -30,7 +30,7 @@ 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/DashboardComponent.php b/Models/DashboardComponent.php index 37fc61c..f872b9a 100644 --- a/Models/DashboardComponent.php +++ b/Models/DashboardComponent.php @@ -27,7 +27,7 @@ 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 = ''; diff --git a/Models/DashboardComponentMapper.php b/Models/DashboardComponentMapper.php index 80fd0d6..e8eb2ec 100644 --- a/Models/DashboardComponentMapper.php +++ b/Models/DashboardComponentMapper.php @@ -29,7 +29,7 @@ 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/DashboardElementInterface.php b/Models/DashboardElementInterface.php index f24427c..328764f 100644 --- a/Models/DashboardElementInterface.php +++ b/Models/DashboardElementInterface.php @@ -14,9 +14,9 @@ declare(strict_types=1); namespace Modules\Dashboard\Models; +use phpOMS\Contract\RenderableInterface; use phpOMS\Message\RequestAbstract; use phpOMS\Message\ResponseAbstract; -use phpOMS\Contract\RenderableInterface; /** * Dashboard element interface.