Merge pull request #46846 from nextcloud/fix/noid/named-attribute-argument

fix(psalm): named attribute argument
This commit is contained in:
Maxence Lange 2024-07-29 12:34:04 -01:00 committed by GitHub
commit 1082164364
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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') {