Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/sharing/lib/Command/UpdateShareRecipientSecret.php
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
4 changes: 2 additions & 2 deletions apps/sharing/lib/Controller/ApiV1Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<class-string<IShareRecipientType>> $recipientTypeClasses Type class of recipients to filter by
* @param string $query The query to search for
Expand Down Expand Up @@ -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<IShareRecipientType> $class Type class of the recipient
Expand Down
4 changes: 2 additions & 2 deletions apps/sharing/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -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"
],
Expand Down
2 changes: 1 addition & 1 deletion lib/public/Sharing/ISharingBackend.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions lib/public/Sharing/ISharingManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<class-string<IShareRecipientType>> $recipientTypeClasses
* @param positive-int $limit
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
],
Expand Down Expand Up @@ -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"
],
Expand Down
Loading