diff --git a/apps/sharing/lib/Command/UpdateShareRecipientSecret.php b/apps/sharing/lib/Command/UpdateShareRecipientSecret.php index c424af7e18785..b7bacc17868e8 100644 --- a/apps/sharing/lib/Command/UpdateShareRecipientSecret.php +++ b/apps/sharing/lib/Command/UpdateShareRecipientSecret.php @@ -20,7 +20,7 @@ final class UpdateShareRecipientSecret extends SharingBase { public function configure(): void { $this ->setName('sharing:update-share-recipient-secret') - ->setDescription('Update the scecret of a recipient.') + ->setDescription('Update the secret of a recipient.') ->addArgument('secret', InputArgument::REQUIRED, 'Recipient secret') ->addArgument('id', InputArgument::REQUIRED, 'Share ID') ->addArgument('class', InputArgument::REQUIRED, 'Recipient class') diff --git a/apps/sharing/lib/Controller/ApiV1Controller.php b/apps/sharing/lib/Controller/ApiV1Controller.php index 11334aa04caba..231370f229036 100644 --- a/apps/sharing/lib/Controller/ApiV1Controller.php +++ b/apps/sharing/lib/Controller/ApiV1Controller.php @@ -73,7 +73,7 @@ public function __construct( } /** - * Search for recpients that can be added to a share. + * Search for recipients that can be added to a share. * * @param ?list> $recipientTypeClasses Type class of recipients to filter by * @param string $query The query to search for @@ -336,7 +336,7 @@ public function removeShareRecipient(string $id, string $class, string $value, ? } /** - * Update the scecret of a recipient. + * Update the secret of a recipient. * * @param string $id ID of the share * @param class-string $class Type class of the recipient diff --git a/apps/sharing/openapi.json b/apps/sharing/openapi.json index 6856c3e478e86..27eb7161d2365 100644 --- a/apps/sharing/openapi.json +++ b/apps/sharing/openapi.json @@ -604,7 +604,7 @@ "/ocs/v2.php/apps/sharing/api/v1/recipients": { "get": { "operationId": "api_v1-search-recipients", - "summary": "Search for recpients that can be added to a share.", + "summary": "Search for recipients that can be added to a share.", "tags": [ "api_v1" ], @@ -1925,7 +1925,7 @@ "/ocs/v2.php/apps/sharing/api/v1/share/{id}/recipient/secret": { "put": { "operationId": "api_v1-update-share-recipient-secret", - "summary": "Update the scecret of a recipient.", + "summary": "Update the secret of a recipient.", "tags": [ "api_v1" ], diff --git a/lib/public/Sharing/ISharingBackend.php b/lib/public/Sharing/ISharingBackend.php index fbbd67e0fb2e4..8781b418bab56 100644 --- a/lib/public/Sharing/ISharingBackend.php +++ b/lib/public/Sharing/ISharingBackend.php @@ -107,7 +107,7 @@ public function onRecipientDeleted(ShareRecipient $recipient): array; public function onInitiatorDeleted(IUser $initiator): array; /** - * Update the scecret of a recipient. + * Update the secret of a recipient. * * @throws ShareNotFoundException * @since 35.0.0 diff --git a/lib/public/Sharing/ISharingManager.php b/lib/public/Sharing/ISharingManager.php index 74c35466a4899..2361d7b14f35c 100644 --- a/lib/public/Sharing/ISharingManager.php +++ b/lib/public/Sharing/ISharingManager.php @@ -28,7 +28,7 @@ #[Consumable(since: '35.0.0')] interface ISharingManager { /** - * Search for recpients that can be added to a share. + * Search for recipients that can be added to a share. * * @param ?list> $recipientTypeClasses * @param positive-int $limit @@ -138,7 +138,7 @@ public function onRecipientDeleted(ShareAccessContext $accessContext, ShareRecip public function onInitiatorDeleted(ShareAccessContext $accessContext, IUser $initiator): void; /** - * Update the scecret of a recipient. + * Update the secret of a recipient. * * @throws ShareInvalidException * @throws ShareNotFoundException diff --git a/openapi.json b/openapi.json index 895290b17b998..67e519e96a9b3 100644 --- a/openapi.json +++ b/openapi.json @@ -36500,7 +36500,7 @@ "/ocs/v2.php/apps/sharing/api/v1/recipients": { "get": { "operationId": "sharing-api_v1-search-recipients", - "summary": "Search for recpients that can be added to a share.", + "summary": "Search for recipients that can be added to a share.", "tags": [ "sharing/api_v1" ], @@ -37821,7 +37821,7 @@ "/ocs/v2.php/apps/sharing/api/v1/share/{id}/recipient/secret": { "put": { "operationId": "sharing-api_v1-update-share-recipient-secret", - "summary": "Update the scecret of a recipient.", + "summary": "Update the secret of a recipient.", "tags": [ "sharing/api_v1" ],