limit amount of items in calendar drag and drop boxes (#2291)

This commit is contained in:
Kevin Papst
2021-07-11 15:03:18 +02:00
committed by GitHub
parent 2583fdf20e
commit a1f90ffaba
13 changed files with 178 additions and 82 deletions

View File

@@ -972,7 +972,7 @@ class TimesheetRepository extends EntityRepository
* @return array|mixed
* @throws \Doctrine\ORM\Query\QueryException
*/
public function getRecentActivities(User $user = null, DateTime $startFrom = null, $limit = 10)
public function getRecentActivities(User $user = null, DateTime $startFrom = null, int $limit = 10)
{
$qb = $this->getEntityManager()->createQueryBuilder();