From 0f497647edbf0056ef05f2f325be2df6656d6de7 Mon Sep 17 00:00:00 2001 From: KrisHarris Date: Thu, 28 Mar 2024 10:04:47 +0000 Subject: [PATCH] Update CarbonHandler.php deprecations --- src/AutumnDev/JMS/CarbonHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutumnDev/JMS/CarbonHandler.php b/src/AutumnDev/JMS/CarbonHandler.php index cff210b..1c4fc5c 100644 --- a/src/AutumnDev/JMS/CarbonHandler.php +++ b/src/AutumnDev/JMS/CarbonHandler.php @@ -34,7 +34,7 @@ public function __construct($defaultFormat = DateTime::ISO8601, $defaultTimezone $this->xmlCData = $xmlCData; } - public static function getSubscribingMethods() + public static function getSubscribingMethods(): array { $methods = []; $deserialisationTypes = ['Carbon', 'CarbonImmutable', Carbon::class, CarbonImmutable::class];