One more typehint

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-09 11:47:53 +01:00
parent 09cc9b92d1
commit 491a0f3959

View file

@ -32,6 +32,7 @@ use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\Facades\Validator;
use Symfony\Component\HttpFoundation\BinaryFileResponse;
/**
* This controller handles all actions related to Settings for
@ -1116,7 +1117,7 @@ class SettingsController extends Controller
* @author [A. Gianotto] [<snipe@snipe.net>]
* @since [v1.8]
*/
public function downloadFile($filename = null) : RedirectResponse
public function downloadFile($filename = null) : RedirectResponse | BinaryFileResponse
{
$path = 'app/backups';