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

[5.2] Adding missing type hints for $this #43136

Merged
merged 4 commits into from
Apr 11, 2024
Merged

Conversation

Hackwar
Copy link
Member

@Hackwar Hackwar commented Mar 24, 2024

Summary of Changes

This PR adds type hints for all layouts where this is still missing. After applying this, phpstan doesn't report Variable $this might not be defined. errors anymore.

Testing Instructions

Codereview

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

Copy link
Contributor

@pe7er pe7er left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Hackwar !

@pe7er pe7er merged commit d919f59 into joomla:5.2-dev Apr 11, 2024
0 of 2 checks passed
@Hackwar Hackwar deleted the 5.2-phan-this branch April 11, 2024 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants