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:
parent
04ffff8511
commit
296fbd1170
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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user