Skip to content
This repository was archived by the owner on Oct 29, 2021. It is now read-only.

Adjust method signatures to match parent#36

Open
splitbrain wants to merge 1 commit intokettari:masterfrom
splitbrain-forks:php7-signature
Open

Adjust method signatures to match parent#36
splitbrain wants to merge 1 commit intokettari:masterfrom
splitbrain-forks:php7-signature

Conversation

@splitbrain
Copy link

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.

@Rvice
Copy link

Rvice commented May 24, 2018

This was already addressed
86dd51c

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants