do not allow to stop already stopped timesheets (#289)
This commit is contained in:
@@ -15,6 +15,8 @@ use App\Entity\User;
|
||||
use App\Model\ActivityStatistic;
|
||||
use App\Repository\Query\ActivityQuery;
|
||||
use Doctrine\ORM\Query;
|
||||
use Doctrine\ORM\QueryBuilder;
|
||||
use Pagerfanta\Pagerfanta;
|
||||
|
||||
/**
|
||||
* Class ActivityRepository
|
||||
@@ -130,7 +132,7 @@ class ActivityRepository extends AbstractRepository
|
||||
|
||||
/**
|
||||
* @param ActivityQuery $query
|
||||
* @return \Doctrine\ORM\QueryBuilder|\Pagerfanta\Pagerfanta
|
||||
* @return QueryBuilder|Pagerfanta|array
|
||||
*/
|
||||
public function findByQuery(ActivityQuery $query)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user