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

Change the return type of ActionInterface to match that of ActionTrait #8196

Merged

Conversation

Oldiesmann
Copy link
Contributor

phpStorm was complaining that the implementation of ActionInterface::load() wasn't compatible with that of ActionTrait::load(), so this fixes that. @tyrsson can explain more.

@tyrsson
Copy link
Collaborator

tyrsson commented May 5, 2024

I'm pretty sure that this issue is due to the underlying changes in how late static binding happens within expressed traits when the concrete class is composed.

@Sesquipedalian Sesquipedalian merged commit ce30fa7 into SimpleMachines:release-3.0 May 5, 2024
6 checks passed
@Oldiesmann Oldiesmann deleted the fix_interface_return branch May 5, 2024 21:39
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.

4 participants