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, IConfig $config,
IUserSession $userSession, IUserSession $userSession,
IDBConnection $connection, IDBConnection $connection,
IRootFolder $rootFolder, IRootFolder $rootFolder) {
) {
parent::__construct(Application::APPNAME, $request); parent::__construct(Application::APPNAME, $request);
$this->config = $config; $this->config = $config;

View File

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

View File

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