lint: php
parent
56df346c92
commit
95925c20e8
|
@ -48,6 +48,7 @@ class DownloadController extends ApiBase
|
||||||
|
|
||||||
// Return id
|
// Return id
|
||||||
$handle = self::createHandle('memories', $files);
|
$handle = self::createHandle('memories', $files);
|
||||||
|
|
||||||
return new JSONResponse(['handle' => $handle]);
|
return new JSONResponse(['handle' => $handle]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -85,7 +86,7 @@ class DownloadController extends ApiBase
|
||||||
if (null === $info) {
|
if (null === $info) {
|
||||||
return new JSONResponse([], Http::STATUS_NOT_FOUND);
|
return new JSONResponse([], Http::STATUS_NOT_FOUND);
|
||||||
}
|
}
|
||||||
$name = $info[0] . '-' . \date('YmdHis');;
|
$name = $info[0].'-'.date('YmdHis');
|
||||||
$fileIds = $info[1];
|
$fileIds = $info[1];
|
||||||
|
|
||||||
/** @var int[] $fileIds */
|
/** @var int[] $fileIds */
|
||||||
|
|
Loading…
Reference in New Issue