mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-25 20:51:30 -08:00
Type constrains one more time - who thought this was a good idea?
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
34e1ff88db
commit
1a1ccd6bdc
|
@ -7,6 +7,7 @@ use Illuminate\Http\RedirectResponse;
|
|||
use Illuminate\Support\Facades\Log;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use \Illuminate\Http\Response;
|
||||
use Symfony\Component\HttpFoundation\BinaryFileResponse;
|
||||
class ActionlogController extends Controller
|
||||
{
|
||||
public function displaySig($filename) : RedirectResponse | Response | bool
|
||||
|
@ -36,7 +37,7 @@ class ActionlogController extends Controller
|
|||
}
|
||||
}
|
||||
|
||||
public function getStoredEula($filename) : Response
|
||||
public function getStoredEula($filename) : Response | BinaryFileResponse
|
||||
{
|
||||
$this->authorize('view', \App\Models\Asset::class);
|
||||
$file = config('app.private_uploads').'/eula-pdfs/'.$filename;
|
||||
|
|
Loading…
Reference in a new issue