We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00b3bb3 + ebb2932 commit fc29c6aCopy full SHA for fc29c6a
src/Period.php
@@ -13,7 +13,7 @@ class Period
13
/** @var Carbon */
14
public $endDate;
15
16
- public static function create(Carbon $startDate, Carbon $endDate): Period
+ public static function create(Carbon $startDate, Carbon $endDate): self
17
{
18
return new static($startDate, $endDate);
19
}
0 commit comments