Minor stylistic change

pull/37/head
Varun Patil 2022-09-11 18:06:16 -07:00
parent 02fe4d936f
commit ba2c3ecdd0
2 changed files with 6 additions and 5 deletions

View File

@ -56,8 +56,8 @@ trait TimelineQueryDay {
public function getDay(
IConfig &$config,
string $user,
int $dayId): array {
int $dayId
): array {
// Filter by path starting with timeline path
$path = "files" . Exif::getPhotosPath($config, $user) . "%";
$query = $this->connection->getQueryBuilder();
@ -79,8 +79,8 @@ trait TimelineQueryDay {
*/
public function getDayFolder(
int $folderId,
int $dayId): array {
int $dayId
): array {
$query = $this->connection->getQueryBuilder();
$this->makeQueryDay($query, $dayId, $query->expr()->orX(
$query->expr()->eq('f.parent', $query->createNamedParameter($folderId, IQueryBuilder::PARAM_INT)),

View File

@ -50,7 +50,8 @@ trait TimelineQueryDays {
*/
public function getDays(
IConfig &$config,
string $user): array {
string $user
): array {
// Filter by path starting with timeline path
$path = "files" . Exif::getPhotosPath($config, $user) . "%";