From 7e9c1f2569dd769e28be925cdc89f8ef4c42f0a3 Mon Sep 17 00:00:00 2001 From: Caius Ehmke Date: Mon, 9 Nov 2020 13:20:26 +0100 Subject: [PATCH] Update docblocks for string types --- src/Enums/Enum.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Enums/Enum.php b/src/Enums/Enum.php index 29b416c..7ca2d69 100644 --- a/src/Enums/Enum.php +++ b/src/Enums/Enum.php @@ -15,7 +15,7 @@ abstract class Enum implements EnumContract, JsonSerializable /** * The current value of the enum. * - * @var int + * @var int|string */ protected $enumValue; @@ -55,7 +55,7 @@ public static function keys() * * @throws UndefinedEnumValueException * - * @return string + * @return int|string */ public function get($enumValue) { @@ -90,7 +90,7 @@ public function set($enumValue) /** * Returns the current enum value. * - * @return int + * @return int|string */ public function value() {