Fixed typehint on assets controller

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-07-08 22:02:11 +01:00
parent 9b838cedd1
commit bf060d43a7

View file

@ -29,6 +29,7 @@ use League\Csv\Reader;
use Illuminate\Http\Response;
use Illuminate\Contracts\View\View;
use Illuminate\Http\RedirectResponse;
use Symfony\Component\HttpFoundation\BinaryFileResponse;
/**
* This class controls all actions related to assets for
@ -474,7 +475,7 @@ class AssetsController extends Controller
* @param int $assetId
* @since [v1.0]
*/
public function getQrCode($assetId = null) : Response
public function getQrCode($assetId = null) : Response | BinaryFileResponse
{
$settings = Setting::getSettings();