From 77114fb3277742fc69ddcf2432311ecb263af97e Mon Sep 17 00:00:00 2001 From: provokateurin Date: Tue, 24 Sep 2024 15:53:13 +0200 Subject: fix(OpenAPI): Adjust array syntax to avoid ambiguities Signed-off-by: provokateurin --- apps/theming/lib/Controller/ThemingController.php | 2 +- apps/theming/lib/Controller/UserThemeController.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/theming') diff --git a/apps/theming/lib/Controller/ThemingController.php b/apps/theming/lib/Controller/ThemingController.php index 1b02595fa39..d748a6278b4 100644 --- a/apps/theming/lib/Controller/ThemingController.php +++ b/apps/theming/lib/Controller/ThemingController.php @@ -417,7 +417,7 @@ class ThemingController extends Controller { * * @param string $app ID of the app * @psalm-suppress LessSpecificReturnStatement The content of the Manifest doesn't need to be described in the return type - * @return JSONResponse|JSONResponse + * @return JSONResponse, display: string}, array{}>|JSONResponse * * 200: Manifest returned * 404: App not found diff --git a/apps/theming/lib/Controller/UserThemeController.php b/apps/theming/lib/Controller/UserThemeController.php index 9bcf32daa9c..1ead97f5d37 100644 --- a/apps/theming/lib/Controller/UserThemeController.php +++ b/apps/theming/lib/Controller/UserThemeController.php @@ -58,7 +58,7 @@ class UserThemeController extends OCSController { * Enable theme * * @param string $themeId the theme ID - * @return DataResponse, array{}> + * @return DataResponse, array{}> * @throws OCSBadRequestException Enabling theme is not possible * @throws PreConditionNotMetException * @@ -77,7 +77,7 @@ class UserThemeController extends OCSController { * Disable theme * * @param string $themeId the theme ID - * @return DataResponse, array{}> + * @return DataResponse, array{}> * @throws OCSBadRequestException Disabling theme is not possible * @throws PreConditionNotMetException * -- cgit v1.2.3