Skip to content

Commit a1df77f

Browse files
Fix return type
fixes #852
1 parent 9780c2c commit a1df77f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/ViewHelpers/DateTime/ModifyViewHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function initializeArguments(): void
2525
/**
2626
* Modify the given datetime by the string modification.
2727
*/
28-
public function render(): \DateTime|false
28+
public function render(): \DateTimeInterface|false
2929
{
3030
$dateTime = $this->arguments['dateTime'];
3131

0 commit comments

Comments
 (0)