Skip to content

Commit c50f1e3

Browse files
Merge pull request #62556 from nextcloud/chore/sharing/typos
chore(Sharing): Fix some typos
2 parents eb69dc9 + d896be5 commit c50f1e3

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

apps/sharing/lib/Command/UpdateShareRecipientSecret.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final class UpdateShareRecipientSecret extends SharingBase {
2020
public function configure(): void {
2121
$this
2222
->setName('sharing:update-share-recipient-secret')
23-
->setDescription('Update the scecret of a recipient.')
23+
->setDescription('Update the secret of a recipient.')
2424
->addArgument('secret', InputArgument::REQUIRED, 'Recipient secret')
2525
->addArgument('id', InputArgument::REQUIRED, 'Share ID')
2626
->addArgument('class', InputArgument::REQUIRED, 'Recipient class')

apps/sharing/lib/Controller/ApiV1Controller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function __construct(
7373
}
7474

7575
/**
76-
* Search for recpients that can be added to a share.
76+
* Search for recipients that can be added to a share.
7777
*
7878
* @param ?list<class-string<IShareRecipientType>> $recipientTypeClasses Type class of recipients to filter by
7979
* @param string $query The query to search for
@@ -336,7 +336,7 @@ public function removeShareRecipient(string $id, string $class, string $value, ?
336336
}
337337

338338
/**
339-
* Update the scecret of a recipient.
339+
* Update the secret of a recipient.
340340
*
341341
* @param string $id ID of the share
342342
* @param class-string<IShareRecipientType> $class Type class of the recipient

apps/sharing/openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@
604604
"/ocs/v2.php/apps/sharing/api/v1/recipients": {
605605
"get": {
606606
"operationId": "api_v1-search-recipients",
607-
"summary": "Search for recpients that can be added to a share.",
607+
"summary": "Search for recipients that can be added to a share.",
608608
"tags": [
609609
"api_v1"
610610
],
@@ -1925,7 +1925,7 @@
19251925
"/ocs/v2.php/apps/sharing/api/v1/share/{id}/recipient/secret": {
19261926
"put": {
19271927
"operationId": "api_v1-update-share-recipient-secret",
1928-
"summary": "Update the scecret of a recipient.",
1928+
"summary": "Update the secret of a recipient.",
19291929
"tags": [
19301930
"api_v1"
19311931
],

lib/public/Sharing/ISharingBackend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public function onRecipientDeleted(ShareRecipient $recipient): array;
107107
public function onInitiatorDeleted(IUser $initiator): array;
108108

109109
/**
110-
* Update the scecret of a recipient.
110+
* Update the secret of a recipient.
111111
*
112112
* @throws ShareNotFoundException
113113
* @since 35.0.0

lib/public/Sharing/ISharingManager.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#[Consumable(since: '35.0.0')]
2929
interface ISharingManager {
3030
/**
31-
* Search for recpients that can be added to a share.
31+
* Search for recipients that can be added to a share.
3232
*
3333
* @param ?list<class-string<IShareRecipientType>> $recipientTypeClasses
3434
* @param positive-int $limit
@@ -138,7 +138,7 @@ public function onRecipientDeleted(ShareAccessContext $accessContext, ShareRecip
138138
public function onInitiatorDeleted(ShareAccessContext $accessContext, IUser $initiator): void;
139139

140140
/**
141-
* Update the scecret of a recipient.
141+
* Update the secret of a recipient.
142142
*
143143
* @throws ShareInvalidException
144144
* @throws ShareNotFoundException

openapi.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36500,7 +36500,7 @@
3650036500
"/ocs/v2.php/apps/sharing/api/v1/recipients": {
3650136501
"get": {
3650236502
"operationId": "sharing-api_v1-search-recipients",
36503-
"summary": "Search for recpients that can be added to a share.",
36503+
"summary": "Search for recipients that can be added to a share.",
3650436504
"tags": [
3650536505
"sharing/api_v1"
3650636506
],
@@ -37821,7 +37821,7 @@
3782137821
"/ocs/v2.php/apps/sharing/api/v1/share/{id}/recipient/secret": {
3782237822
"put": {
3782337823
"operationId": "sharing-api_v1-update-share-recipient-secret",
37824-
"summary": "Update the scecret of a recipient.",
37824+
"summary": "Update the secret of a recipient.",
3782537825
"tags": [
3782637826
"sharing/api_v1"
3782737827
],

0 commit comments

Comments
 (0)