From 05b5520f03fa1f090087a1d47685c227a4687c23 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/Tag.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Models/Tag.php b/Models/Tag.php index 131fbdb..8fbe296 100644 --- a/Models/Tag.php +++ b/Models/Tag.php @@ -33,7 +33,7 @@ class Tag implements ArrayableInterface, \JsonSerializable * @var int * @since 1.0.0 */ - private $id = 0; + private int $id = 0; /** * Title. @@ -41,7 +41,7 @@ class Tag implements ArrayableInterface, \JsonSerializable * @var string * @since 1.0.0 */ - private $title = ''; + private string $title = ''; /** * Color RGBA. @@ -49,7 +49,7 @@ class Tag implements ArrayableInterface, \JsonSerializable * @var string * @since 1.0.0 */ - private $color = '00000000'; + private string $color = '00000000'; /** * Creator. @@ -65,7 +65,7 @@ class Tag implements ArrayableInterface, \JsonSerializable * @var string * @since 1.0.0 */ - private $type = TagType::SINGLE; + private string $type = TagType::SINGLE; /** * Get created by