We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 84f5262 + f4811e4 commit 065cdaaCopy full SHA for 065cdaa
component/Time/DateInterval.php
@@ -83,7 +83,7 @@ public function isAfter(
83
public static function make(
84
null|int|string $from,
85
null|int|string $to
86
- ): self {
+ ): static {
87
if (is_string($from) || is_int($from)) {
88
$from = new Date($from);
89
}
component/Time/DateTimeInterval.php
$from = new DateTime($from);
0 commit comments