Skip to content

Commit

Permalink
Merge pull request #7 from KrisHarris/master
Browse files Browse the repository at this point in the history
Update CarbonHandler.php
  • Loading branch information
scott-davidjones authored Mar 28, 2024
2 parents da788ef + 0f49764 commit 39f8db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AutumnDev/JMS/CarbonHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 39f8db6

Please sign in to comment.