Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update core/Controller/JsController.php
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: Hamid Dehnavi <[email protected]>
  • Loading branch information
shdehnavi and nickvergessen authored Jul 19, 2023
commit 1c942b4f268a04d208b379e4e713b115c1b15e49
5 changes: 2 additions & 3 deletions core/Controller/JsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ public function __construct(
*
* @param string $fileName js filename with extension
* @param string $appName js folder name
* @return Response
* @throws \Exception
* @return FileDisplayResponse|NotFoundResponse
*/
public function getJs(string $fileName, string $appName): Response {
public function getJs(string $fileName, string $appName): FileDisplayResponse|NotFoundResponse {
try {
$folder = $this->appData->getFolder($appName);
$gzip = false;
Expand Down