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

Improve PHP 8.1.0 support #103

Merged
merged 1 commit into from
Dec 1, 2021
Merged

Improve PHP 8.1.0 support #103

merged 1 commit into from
Dec 1, 2021

Conversation

kyryl-bogach
Copy link
Contributor

Fix errors when using PHP 8.1.0 like:

Return type of Spatie\Period\PeriodCollection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/spatie/period/src/IterableImplementation.php

Fix errors when using PHP 8.1.0 like:
Return type of Spatie\Period\PeriodCollection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/spatie/period/src/IterableImplementation.php
@freekmurze freekmurze merged commit 26ace80 into spatie:main Dec 1, 2021
@freekmurze
Copy link
Member

Thank you!

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

Successfully merging this pull request may close these issues.

None yet

2 participants