mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 19:59:18 -08:00
Fixed type constraint
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
14fa5d778d
commit
8a547dab20
|
@ -12,6 +12,7 @@ use Illuminate\Support\Facades\Log;
|
|||
use \Illuminate\Contracts\View\View;
|
||||
use \Illuminate\Http\RedirectResponse;
|
||||
use Illuminate\Support\Facades\Response;
|
||||
use Symfony\Component\HttpFoundation\BinaryFileResponse;
|
||||
|
||||
class AccessoriesFilesController extends Controller
|
||||
{
|
||||
|
@ -104,7 +105,7 @@ class AccessoriesFilesController extends Controller
|
|||
* @param int $accessoryId
|
||||
* @param int $fileId
|
||||
*/
|
||||
public function show($accessoryId = null, $fileId = null, $download = true) : View | RedirectResponse | Response
|
||||
public function show($accessoryId = null, $fileId = null, $download = true) : View | RedirectResponse | Response | BinaryFileResponse
|
||||
{
|
||||
|
||||
Log::debug('Private filesystem is: '.config('filesystems.default'));
|
||||
|
|
Loading…
Reference in a new issue