Skip to content

Conversation

@lacatoire
Copy link
Contributor

Summary

Remove the incorrect statement that forward_static_call_array() must be called within a method context.

Unlike forward_static_call(), forward_static_call_array() can be used outside a class. The late static binding only applies when called from within a method context.

See https://3v4l.org/Cb8AZ for a demonstration.

Fixes #3282

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.

forward_static_call_array can be used outside of a class too

1 participant