Skip to content

Comments

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

Merged
pe7er merged 4 commits intojoomla:5.2-devfrom
Hackwar:5.2-phan-this
Apr 11, 2024
Merged

[5.2] Adding missing type hints for $this#43136
pe7er merged 4 commits intojoomla:5.2-devfrom
Hackwar:5.2-phan-this

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
@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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants