fix(psalm): named attribute argument

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
Maxence Lange 2024-07-29 11:37:40 -01:00
parent 13d2b67674
commit dd0099c69f

View file

@ -423,7 +423,7 @@ class ThemingController extends Controller {
*/
#[PublicPage]
#[NoCSRFRequired]
#[BruteForceProtection('manifest')]
#[BruteForceProtection(action: 'manifest')]
public function getManifest(string $app): JSONResponse {
$cacheBusterValue = $this->config->getAppValue('theming', 'cachebuster', '0');
if ($app === 'core' || $app === 'settings') {