From 0fa2c825a29d84d133e84207dda0cf020d742a8b Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 17 Aug 2019 14:14:51 +0200 Subject: [PATCH] fix after change to php 7.4 --- Models/DashboardBoard.php | 8 ++++---- Models/DashboardComponent.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Models/DashboardBoard.php b/Models/DashboardBoard.php index c833151..8e95992 100644 --- a/Models/DashboardBoard.php +++ b/Models/DashboardBoard.php @@ -32,7 +32,7 @@ class DashboardBoard implements \JsonSerializable * @var int * @since 1.0.0 */ - protected $id = 0; + protected int $id = 0; /** * Title. @@ -40,7 +40,7 @@ class DashboardBoard implements \JsonSerializable * @var string * @since 1.0.0 */ - protected $title = ''; + protected string $title = ''; /** * Account. @@ -56,7 +56,7 @@ class DashboardBoard implements \JsonSerializable * @var int * @since 1.0.0 */ - protected $status = DashboardBoardStatus::ACTIVE; + protected int $status = DashboardBoardStatus::ACTIVE; /** * Dashboard component. @@ -64,7 +64,7 @@ class DashboardBoard implements \JsonSerializable * @var DashboardComponent[] * @since 1.0.0 */ - protected $components = []; + protected array $components = []; /** * Get id diff --git a/Models/DashboardComponent.php b/Models/DashboardComponent.php index f2cff34..b192ea6 100644 --- a/Models/DashboardComponent.php +++ b/Models/DashboardComponent.php @@ -30,7 +30,7 @@ class DashboardComponent implements \JsonSerializable * @var int * @since 1.0.0 */ - protected $id = 0; + protected int $id = 0; /** * Order. @@ -38,7 +38,7 @@ class DashboardComponent implements \JsonSerializable * @var int * @since 1.0.0 */ - protected $order = 0; + protected int $order = 0; /** * Board. @@ -54,7 +54,7 @@ class DashboardComponent implements \JsonSerializable * @var string * @since 1.0.0 */ - protected $module = ''; + protected string $module = ''; /** * Component. @@ -62,7 +62,7 @@ class DashboardComponent implements \JsonSerializable * @var string * @since 1.0.0 */ - protected $component = ''; + protected string $component = ''; /** * Get id