Skip to content

Commit b483558

Browse files
authored
Merge pull request nextcloud#49221 from nextcloud/backport/49218/stable29
2 parents 8d131e7 + fc08dc2 commit b483558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/files_external/lib/Controller/StoragesController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ public function index() {
292292
*
293293
* @return DataResponse
294294
*/
295-
public function show($id, $testOnly = true) {
295+
public function show(int $id, $testOnly = true) {
296296
try {
297297
$storage = $this->service->getStorage($id);
298298

@@ -324,7 +324,7 @@ public function show($id, $testOnly = true) {
324324
* @return DataResponse
325325
*/
326326
#[PasswordConfirmationRequired]
327-
public function destroy($id) {
327+
public function destroy(int $id) {
328328
try {
329329
$this->service->removeStorage($id);
330330
} catch (NotFoundException $e) {

0 commit comments

Comments
 (0)