Skip to content

Conversation

@thefrosty
Copy link
Contributor

@thefrosty thefrosty commented Dec 5, 2025

Description

Fixes #2652

Types of changes

Adds explicit nullable types.

How has this been tested?

Acceptance criteria

Checklist:

  • My code is tested
  • My code follows accessibility standards
  • My code has proper inline documentation
  • I've included any necessary tests
  • I've included developer documentation
  • I've added proper labels to this pull request

* @return StylesLoader|static
*/
public static function setInstance( StylesLoader $instance = null ) {
public static function setInstance( StylesLoader $instance ) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I wouldn't assume you would want to set an instance as null, so I just removed the default null value instead of explicitly setting nullable in the StylesLoader.

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.

ISBAT Implicitly marking parameter as nullable is deprecated

1 participant