diff --git a/apps/dav/lib/Controller/OutOfOfficeController.php b/apps/dav/lib/Controller/OutOfOfficeController.php index 69603231412a5..a2e7378f32de1 100644 --- a/apps/dav/lib/Controller/OutOfOfficeController.php +++ b/apps/dav/lib/Controller/OutOfOfficeController.php @@ -38,11 +38,10 @@ use OCP\IUserManager; use OCP\IUserSession; use OCP\User\IAvailabilityCoordinator; -use OCP\User\IOutOfOfficeData; /** * @psalm-import-type DAVOutOfOfficeData from ResponseDefinitions - * @psalm-import-type DAVCurentOutOfOfficeData from ResponseDefinitions + * @psalm-import-type DAVCurrentOutOfOfficeData from ResponseDefinitions */ class OutOfOfficeController extends OCSController { @@ -61,7 +60,7 @@ public function __construct( * Get the currently configured out-of-office data of a user. * * @param string $userId The user id to get out-of-office data for. - * @return DataResponse|DataResponse + * @return DataResponse|DataResponse * * 200: Out-of-office data * 404: No out-of-office data was found diff --git a/apps/dav/lib/ResponseDefinitions.php b/apps/dav/lib/ResponseDefinitions.php index a90d31fdc0a62..e6de3d5a65cbf 100644 --- a/apps/dav/lib/ResponseDefinitions.php +++ b/apps/dav/lib/ResponseDefinitions.php @@ -40,7 +40,7 @@ * } * * @todo this is a copy of \OCP\User\IOutOfOfficeData - * @psalm-type DAVCurentOutOfOfficeData = DAVOutOfOfficeDataCommon&array{ + * @psalm-type DAVCurrentOutOfOfficeData = DAVOutOfOfficeDataCommon&array{ * id: string, * startDate: int, * endDate: int,