Skip to content

Commit

Permalink
Merge pull request #4410 from nextcloud/backport/4398/stable31
Browse files Browse the repository at this point in the history
[stable31] fix(Controller): incomplete return type list
  • Loading branch information
elzody authored Jan 23, 2025
2 parents 08e4636 + 7586c49 commit 0294f82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => 'a020a8fa3bc95f7b2107173c1e1caa634a7c6671',
'reference' => 'cfd48c8ab8986bf0b444fede00b5c3f70c0f703a',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
Expand All @@ -13,7 +13,7 @@
'__root__' => array(
'pretty_version' => 'dev-main',
'version' => 'dev-main',
'reference' => 'a020a8fa3bc95f7b2107173c1e1caa634a7c6671',
'reference' => 'cfd48c8ab8986bf0b444fede00b5c3f70c0f703a',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
Expand Down
2 changes: 1 addition & 1 deletion lib/Controller/WopiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ private function setFederationFileInfo(Wopi $wopi, $response) {
#[NoCSRFRequired]
#[PublicPage]
#[FrontpageRoute(verb: 'GET', url: 'wopi/files/{fileId}/contents')]
public function getFile(string $fileId, string $access_token): JSONResponse|StreamResponse {
public function getFile(string $fileId, string $access_token): JSONResponse|StreamResponse|Http\Response {
[$fileId, , $version] = Helper::parseFileId($fileId);

try {
Expand Down

0 comments on commit 0294f82

Please sign in to comment.