Merge pull request #4398 from nextcloud/fix/noid/getfile-responsetype
fix(Controller): incomplete return type list
This commit is contained in:
Коммит
82b0e9bd82
|
@ -3,7 +3,7 @@
|
|||
'name' => '__root__',
|
||||
'pretty_version' => 'dev-main',
|
||||
'version' => 'dev-main',
|
||||
'reference' => 'a020a8fa3bc95f7b2107173c1e1caa634a7c6671',
|
||||
'reference' => 'cfd48c8ab8986bf0b444fede00b5c3f70c0f703a',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../',
|
||||
'aliases' => array(),
|
||||
|
@ -13,7 +13,7 @@
|
|||
'__root__' => array(
|
||||
'pretty_version' => 'dev-main',
|
||||
'version' => 'dev-main',
|
||||
'reference' => 'a020a8fa3bc95f7b2107173c1e1caa634a7c6671',
|
||||
'reference' => 'cfd48c8ab8986bf0b444fede00b5c3f70c0f703a',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../',
|
||||
'aliases' => array(),
|
||||
|
|
|
@ -305,7 +305,7 @@ class WopiController extends Controller {
|
|||
#[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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче