Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Jan 27, 2022
1 parent 77dff09 commit d791b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/Component/EntityFilter/Filter/Date.php
Expand Up @@ -34,7 +34,7 @@ private function convertDateShortCode(string $string, ?string $locale = null): s
return F::preg_replace_str('/date\([\'"]?%?e[\'"]?\)/i', (string) strftime('%e'), $string);
}

private function getWinterYear()
private function getWinterYear(): string
{
return date('m') < 4 ? date('Y') : date('Y', strtotime('next year'));
}
Expand Down

0 comments on commit d791b6f

Please sign in to comment.