Remove comma after arg list (#14)
parent
16763904e1
commit
7b7ea2b597
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue