From: Cyperghost Date: Mon, 8 Apr 2024 09:21:53 +0000 (+0200) Subject: Use `sprintf` X-Git-Tag: 6.1.0_Alpha_1~135^2~6 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6d9851bf85c502fde6a4d07c6329d739fd6a63ee;p=GitHub%2FWoltLab%2FWCF.git Use `sprintf` --- diff --git a/wcfsetup/install/files/lib/data/style/Style.class.php b/wcfsetup/install/files/lib/data/style/Style.class.php index df0c357079..536e624734 100644 --- a/wcfsetup/install/files/lib/data/style/Style.class.php +++ b/wcfsetup/install/files/lib/data/style/Style.class.php @@ -294,9 +294,12 @@ class Style extends DatabaseObject */ public function getFaviconManifest() { - return WCF::getPath() . - FileUtil::getRelativePath(WCF_DIR, $this->getAssetPath()) . - 'manifest-' . WCF::getLanguage()->languageID . '.json'; + return \sprintf( + '%s%smanifest-%d.json', + WCF::getPath(), + FileUtil::getRelativePath(WCF_DIR, $this->getAssetPath()), + WCF::getLanguage()->languageID + ); } /**