Fixed type constraint

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-09 13:35:57 +01:00
parent 14fa5d778d
commit 8a547dab20

View file

@ -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'));