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/CssController.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 f24dc3fac6343da12ef319dbd0934a6d7f22443c
5 changes: 2 additions & 3 deletions core/Controller/CssController.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,9 @@ public function __construct(
*
* @param string $fileName css filename with extension
* @param string $appName css folder name
* @return Response
* @throws \Exception
* @return FileDisplayResponse|NotFoundResponse
*/
public function getCss(string $fileName, string $appName): Response {
public function getCss(string $fileName, string $appName): FileDisplayResponse|NotFoundResponse {
try {
$folder = $this->appData->getFolder($appName);
$gzip = false;
Expand Down