diff --git a/lib/Db/TimelineQueryDay.php b/lib/Db/TimelineQueryDay.php index 51e7f58d..741eb1a7 100644 --- a/lib/Db/TimelineQueryDay.php +++ b/lib/Db/TimelineQueryDay.php @@ -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)), diff --git a/lib/Db/TimelineQueryDays.php b/lib/Db/TimelineQueryDays.php index 5607b843..028c5f36 100644 --- a/lib/Db/TimelineQueryDays.php +++ b/lib/Db/TimelineQueryDays.php @@ -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) . "%";