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

Adjust method signatures to match parent #11

Merged
merged 1 commit into from Feb 2, 2016
Merged

Adjust method signatures to match parent #11

merged 1 commit into from Feb 2, 2016

Conversation

splitbrain
Copy link
Owner

Starting with PHP 7, classes that overide methods from their parent have to match their parent's method signature regarding type hints. Otherwise PHP will throw an error.

Your plugin seems not to match DokuWiki's method signatures causing it to fail under PHP7. This patch tries to fix that.

Please note that this patch and the resulting pull request were created using an automated tool. Something might have gone, wrong so please carefully check before merging.

If you think the code submitted is wrong, please feel free to close this PR and excuse the mess.

splitbrain added a commit that referenced this pull request Feb 2, 2016
Adjust method signatures to match parent
@splitbrain splitbrain merged commit 54ae0ed into splitbrain:master Feb 2, 2016
@splitbrain splitbrain deleted the php7-signature branch February 2, 2016 12:11
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

1 participant