Skip to content

Commit f7e9c60

Browse files
authored
Merge pull request #1039 from nextcloud/chore/deps/openapi-extractor
chore(deps): Update openapi-extractor to v1.3.0
2 parents d4403cf + 664cb4a commit f7e9c60

File tree

3 files changed

+30
-26
lines changed

3 files changed

+30
-26
lines changed

lib/Controller/SigningController.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ protected function resetAllSignaturesEvent(): SignaturesResetEvent {
7474
* As a logged in user sign the terms
7575
*
7676
* @param int $termId The terms the user signed
77-
* @return DataResponse<Http::STATUS_OK, array<empty>, array{}>
77+
* @return DataResponse<Http::STATUS_OK, list<empty>, array{}>
7878
*
7979
* 200: Signed successfully
8080
*/
@@ -102,7 +102,7 @@ public function signTerms(int $termId): DataResponse {
102102
/**
103103
* As a guest sign the terms
104104
*
105-
* @return DataResponse<Http::STATUS_OK, array<empty>, array{}>
105+
* @return DataResponse<Http::STATUS_OK, list<empty>, array{}>
106106
*
107107
* 200: Signed successfully
108108
*/
@@ -120,7 +120,7 @@ public function signTermsPublic(): DataResponse {
120120
/**
121121
* Reset the signatories of all accounts
122122
*
123-
* @return DataResponse<Http::STATUS_OK, array<empty>, array{}>
123+
* @return DataResponse<Http::STATUS_OK, list<empty>, array{}>
124124
*
125125
* 200: Reset successfully
126126
*/

lib/Controller/TermsController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ public function getAdminFormData(): DataResponse {
133133
* Delete a given Term by id
134134
*
135135
* @param positive-int $id The terms which should be deleted
136-
* @return DataResponse<Http::STATUS_OK, array<empty>, array{}>
136+
* @return DataResponse<Http::STATUS_OK, list<empty>, array{}>
137137
*
138138
* 200: Deleted successfully
139139
*/
@@ -157,7 +157,7 @@ protected function createTermsCreatedEvent(): TermsCreatedEvent {
157157
* @param string $countryCode One of the 2-letter region codes or `--` for "global"
158158
* @param string $languageCode One of the 2-letter language codes
159159
* @param string $body The actual terms and conditions text (can be markdown, using headers, basic text formating, lists and links)
160-
* @return DataResponse<Http::STATUS_OK, TermsOfServiceTerms, array{}>|DataResponse<Http::STATUS_EXPECTATION_FAILED, array<empty>, array{}>
160+
* @return DataResponse<Http::STATUS_OK, TermsOfServiceTerms, array{}>|DataResponse<Http::STATUS_EXPECTATION_FAILED, list<empty>, array{}>
161161
*
162162
* 200: Created successfully
163163
* 417: Country or language code was not a valid option

vendor-bin/openapi-extractor/composer.lock

Lines changed: 25 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)