Skip to content

Commit 3fd3594

Browse files
BurntimeXdtdesign
andauthored
Apply suggestions from code review
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
1 parent 7621048 commit 3fd3594

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

wcfsetup/install/files/lib/acp/form/AbstractFormOptionAddForm.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ protected function getOptionTypeFormField(): SelectFormField
114114
{
115115
return SelectFormField::create('optionType')
116116
->label('wcf.form.option.optionType')
117-
->immutable($this->formAction != 'create')
117+
->immutable($this->formAction !== 'create')
118118
->options(FormOptionHandler::getInstance()->getSortedOptionTypes())
119119
->required();
120120
}

wcfsetup/install/files/lib/system/form/option/formatter/CurrencyFormatter.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class CurrencyFormatter implements IFormOptionFormatter
1818
#[\Override]
1919
public function format(string $value, int $languageID, array $configurationData): string
2020
{
21-
$showDecimals = $value % 100 != 0;
21+
$showDecimals = $value % 100 !== 0;
2222
$value /= 100;
2323
$language = LanguageFactory::getInstance()->getLanguage($languageID);
2424
$suffix = '';

0 commit comments

Comments
 (0)