1
0
mirror of https://github.com/Kovah/LinkAce.git synced 2025-04-25 17:43:48 +02:00

fix some small code styling issues

This commit is contained in:
Kovah 2021-03-06 19:41:41 +01:00
parent 04ffff8511
commit 296fbd1170
No known key found for this signature in database
GPG Key ID: AAAA031BA9830D7B
2 changed files with 2 additions and 2 deletions
app
Helper
Http/Controllers/App

@ -129,7 +129,7 @@ function getShareLinks(Link $link): string
* @param int|null $height
* @return string
*/
function displaySVG(string $path, $width = null, $height = null)
function displaySVG(string $path, $width = null, $height = null): string
{
$svg = file_get_contents($path);

@ -30,7 +30,7 @@ class ImportController extends Controller
* @return JsonResponse
* @throws FileNotFoundException
*/
public function doImport(DoImportRequest $request)
public function doImport(DoImportRequest $request): JsonResponse
{
$data = $request->file('import-file')->get();