Skip to content

Commit

Permalink
Fix PhanPluginDuplicateExpressionAssignmentOperation
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 committed Jun 29, 2024
1 parent 11ba94b commit ef1adf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/HookHandler/SmallElements.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
}
Expand Down

0 comments on commit ef1adf8

Please sign in to comment.