Skip to content

Commit 18bd17e

Browse files
Michaël MarinettiMichael Marinetti
authored andcommitted
Fix deprecation
1 parent 2e24c3d commit 18bd17e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/Types/CarbonDateType.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ class CarbonDateType extends DateType
1010

1111
public const CARBONDATE = 'carbondate';
1212

13-
/**
14-
* {@inheritDoc}
15-
*/
16-
public function getName()
13+
public function getName(): string
1714
{
1815
return self::CARBONDATE;
1916
}

0 commit comments

Comments
 (0)