Remove comma after arg list (#14)

pull/37/head
Varun Patil 2022-08-22 18:48:35 +00:00
parent 16763904e1
commit 7b7ea2b597
3 changed files with 10 additions and 10 deletions

View File

@ -52,8 +52,8 @@ class ApiController extends Controller {
IConfig $config,
IUserSession $userSession,
IDBConnection $connection,
IRootFolder $rootFolder,
) {
IRootFolder $rootFolder) {
parent::__construct(Application::APPNAME, $request);
$this->config = $config;

View File

@ -27,8 +27,8 @@ class PageController extends Controller {
IEventDispatcher $eventDispatcher,
IInitialState $initialState,
IUserSession $userSession,
IConfig $config,
){
IConfig $config) {
parent::__construct($AppName, $request);
$this->userId = $UserId;
$this->appName = $AppName;

View File

@ -33,8 +33,8 @@ class TimelineQuery {
*/
public function getDays(
IConfig &$config,
string &$user,
): array {
string &$user): array {
$sql = 'SELECT `*PREFIX*memories`.`dayid`, COUNT(`*PREFIX*memories`.`fileid`) AS count
FROM `*PREFIX*memories`
INNER JOIN `*PREFIX*filecache`
@ -93,8 +93,8 @@ class TimelineQuery {
public function getDay(
IConfig &$config,
string &$user,
int &$dayId,
): array {
int &$dayId): array {
$sql = 'SELECT `*PREFIX*memories`.`fileid`, *PREFIX*filecache.etag, `*PREFIX*memories`.`isvideo`
FROM *PREFIX*memories
INNER JOIN *PREFIX*filecache
@ -117,8 +117,8 @@ class TimelineQuery {
*/
public function getDayFolder(
int &$folderId,
int &$dayId,
): array {
int &$dayId): array {
$sql = 'SELECT `*PREFIX*memories`.`fileid`, `*PREFIX*filecache`.`etag`, `*PREFIX*memories`.`isvideo`
FROM `*PREFIX*memories`
INNER JOIN `*PREFIX*filecache`