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

Fix method return type #227

Merged
merged 3 commits into from
Oct 1, 2023
Merged

Fix method return type #227

merged 3 commits into from
Oct 1, 2023

Conversation

sprain
Copy link
Owner

@sprain sprain commented Oct 1, 2023

Fixes #224

Replace return type self with static in abstract method.

See https://www.php.net/manual/en/language.oop5.late-static-bindings.php for more information on why.

@sprain sprain merged commit 7a645d8 into master Oct 1, 2023
12 checks passed
@sprain sprain deleted the fix-method-return-type branch October 1, 2023 15:01
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.

Methods in AbstractOutput should return static instead of self
1 participant