diff --git a/includes/HookHandler/SmallElements.php b/includes/HookHandler/SmallElements.php index 4b845c11..01542247 100644 --- a/includes/HookHandler/SmallElements.php +++ b/includes/HookHandler/SmallElements.php @@ -50,7 +50,7 @@ public function onOutputPageBodyAttributes( $out, $sk, &$bodyAttrs ): void { ( !$registered && $config->get( Constants::CONFIG_KEY_SMALL_ELEMENTS_FOR_ANONYMOUS_USER ) ) || ( $registered && !$userOptionsLookup->getBoolOption( $user, Constants::PREF_KEY_LARGER_ELEMENTS ) ) ) { - $bodyAttrs['class'] = $bodyAttrs['class'] ?? ''; + $bodyAttrs['class'] ??= ''; $bodyAttrs['class'] .= ' fw-legacy-small-elements'; } }