Skip to content

Commit

Permalink
Parameter $dateTimeClass of DateTimeModifyReturnTypeExtension const…
Browse files Browse the repository at this point in the history
…ructor made required
  • Loading branch information
ondrejmirtes committed Sep 14, 2024
1 parent f85a500 commit a8cd423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Type/Php/DateTimeModifyReturnTypeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ final class DateTimeModifyReturnTypeExtension implements DynamicMethodReturnType
/** @param class-string<DateTimeInterface> $dateTimeClass */
public function __construct(
private PhpVersion $phpVersion,
private string $dateTimeClass = DateTime::class,
private string $dateTimeClass,
)
{
}
Expand Down

0 comments on commit a8cd423

Please sign in to comment.