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

Fixes Tree::seek() execution on PHP 8.1 #18

Merged
merged 1 commit into from
Sep 29, 2021
Merged

Conversation

siad007
Copy link
Contributor

@siad007 siad007 commented Aug 21, 2021

When executing Tree::seek() on PHP 8.1 there will be a fatal error.

PHP Fatal error:  During inheritance of SeekableIterator: Uncaught Return type of VersionControl_Git_Object_Tree::seek($position)
should either be compatible with SeekableIterator::seek(int $offset): void, or the #[ReturnTypeWillChange] attribute should be
used to temporarily suppress the notice

PHP Fatal error:  During inheritance of SeekableIterator: Uncaught Return type of VersionControl_Git_Object_Tree::seek($position) should either be compatible with SeekableIterator::seek(int $offset): void, or the #[ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
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.

2 participants