mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
One more typehint
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
09cc9b92d1
commit
491a0f3959
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue