From 18bd17efb969ba2fd6f606e0b42f8d7b83f04b79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Marinetti?= Date: Wed, 15 Jan 2025 23:50:08 +0100 Subject: [PATCH] Fix deprecation --- src/Types/CarbonDateType.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Types/CarbonDateType.php b/src/Types/CarbonDateType.php index b0369578..5ea7771e 100644 --- a/src/Types/CarbonDateType.php +++ b/src/Types/CarbonDateType.php @@ -10,10 +10,7 @@ class CarbonDateType extends DateType public const CARBONDATE = 'carbondate'; - /** - * {@inheritDoc} - */ - public function getName() + public function getName(): string { return self::CARBONDATE; }