mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix phpstan error
This commit is contained in:
parent
aeb0d5eab8
commit
2100d45671
@ -20,6 +20,7 @@ use Chill\MainBundle\Service\RollingDate\RollingDate;
|
|||||||
use Chill\MainBundle\Service\RollingDate\RollingDateConverterInterface;
|
use Chill\MainBundle\Service\RollingDate\RollingDateConverterInterface;
|
||||||
use Chill\MainBundle\Templating\TranslatableStringHelper;
|
use Chill\MainBundle\Templating\TranslatableStringHelper;
|
||||||
use Chill\PersonBundle\Export\Declarations;
|
use Chill\PersonBundle\Export\Declarations;
|
||||||
|
use Doctrine\ORM\Query\Expr;
|
||||||
use Doctrine\ORM\QueryBuilder;
|
use Doctrine\ORM\QueryBuilder;
|
||||||
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
|
use Symfony\Bridge\Doctrine\Form\Type\EntityType;
|
||||||
use Symfony\Component\Form\FormBuilderInterface;
|
use Symfony\Component\Form\FormBuilderInterface;
|
||||||
@ -49,7 +50,8 @@ class UserJobFilter implements FilterInterface
|
|||||||
->leftJoin(
|
->leftJoin(
|
||||||
UserJobHistory::class,
|
UserJobHistory::class,
|
||||||
"{$p}_jobHistory",
|
"{$p}_jobHistory",
|
||||||
$qb->expr()->eq("{$p}_jobHistory", "{$p}_user")
|
Expr\Join::WITH,
|
||||||
|
$qb->expr()->eq("{$p}_jobHistory.user", "{$p}_user")
|
||||||
)
|
)
|
||||||
->andWhere(
|
->andWhere(
|
||||||
$qb->expr()->andX(
|
$qb->expr()->andX(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user