From: Tim Düsterhus Date: Thu, 21 Sep 2023 10:23:06 +0000 (+0200) Subject: Make LicensePage::$licenseNumber a string X-Git-Tag: 6.0.0_RC_2~16 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a75e285e32367d06b641b0d492ea1deacad0d094;p=GitHub%2FWoltLab%2FWCF.git Make LicensePage::$licenseNumber a string While the licenseNumber is numeric, it is not used as an integer: No mathematical operations are to be performed on it. Change the type to a string to make the purpose clear. --- diff --git a/wcfsetup/install/files/lib/acp/page/LicensePage.class.php b/wcfsetup/install/files/lib/acp/page/LicensePage.class.php index f8da6d9adf..b3eb889760 100644 --- a/wcfsetup/install/files/lib/acp/page/LicensePage.class.php +++ b/wcfsetup/install/files/lib/acp/page/LicensePage.class.php @@ -33,7 +33,7 @@ final class LicensePage extends AbstractPage private array $licenseData; - private int $licenseNumber; + private string $licenseNumber; private array $installedPackages;