mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
DX: fix phpstan errors
This commit is contained in:
@@ -111,9 +111,9 @@ final class GoalRepository implements ObjectRepository
|
||||
$orx = $qb->expr()->orX();
|
||||
$i = 0;
|
||||
|
||||
foreach ($actions as $action) {
|
||||
foreach ($actions as $act) {
|
||||
$orx->add(":action_{$i} MEMBER OF g.socialActions");
|
||||
$qb->setParameter("action_{$i}", $action);
|
||||
$qb->setParameter("action_{$i}", $act);
|
||||
}
|
||||
$qb->where($orx);
|
||||
|
||||
|
@@ -146,9 +146,9 @@ final class ResultRepository implements ObjectRepository
|
||||
$orx = $qb->expr()->orX();
|
||||
$i = 0;
|
||||
|
||||
foreach ($actions as $action) {
|
||||
foreach ($actions as $act) {
|
||||
$orx->add(":action_{$i} MEMBER OF r.socialActions");
|
||||
$qb->setParameter("action_{$i}", $action);
|
||||
$qb->setParameter("action_{$i}", $act);
|
||||
}
|
||||
$qb->where($orx);
|
||||
|
||||
|
Reference in New Issue
Block a user