Skip to content

ThemeSwitcher: remove the use of $user_id property

  • Instead of using $this->user_id ThemeSwitcher::applies, use local variable $user_id. Remove the need to dynamically create property that would cause warning in PHP 8.2 and error in the future.

Merge request reports

Loading