Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in RecurrenceService #817

Closed
devmes opened this issue Oct 29, 2024 · 1 comment
Closed

Exception in RecurrenceService #817

devmes opened this issue Oct 29, 2024 · 1 comment

Comments

@devmes
Copy link

devmes commented Oct 29, 2024

In the class ‘HDNET\Calendarise\Service\RecurrenceService’
the method ‘getRecurrenceForNextMonth’ has the return value ‘\DateTime’, but it must have the value ‘\DateTime|false’, otherwise it can lead to an exception.

Exception:
‘Uncaught TYPO3 Exception HDNET\Calendarize\Service\RecurrenceService::getRecurrenceForNextMonth(): Return value must be of type DateTime, bool returned
thrown in file /var/www/html/vendor/lochmueller/calendarize/Classes/Service/RecurrenceService.php
in line 38’

devmes pushed a commit to devmes/calendarize that referenced this issue Oct 29, 2024
…enceForNextMonth, RecurrenceService::getRecurrenceForNextYear

refs lochmueller#817
@lochmueller
Copy link
Owner

Fixed via #818

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants