mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
cs fixer
This commit is contained in:
@@ -23,10 +23,10 @@ use function in_array;
|
||||
|
||||
class SocialActionFilter implements FilterInterface
|
||||
{
|
||||
private TranslatableStringHelper $translatableStringHelper;
|
||||
|
||||
private SocialActionRender $actionRender;
|
||||
|
||||
private TranslatableStringHelper $translatableStringHelper;
|
||||
|
||||
public function __construct(
|
||||
TranslatableStringHelper $translatableStringHelper,
|
||||
SocialActionRender $actionRender
|
||||
@@ -53,7 +53,8 @@ class SocialActionFilter implements FilterInterface
|
||||
$clause = $qb->expr()->in('acpwsocialaction.id', ':socialactions');
|
||||
|
||||
$qb->andWhere($clause)
|
||||
->setParameter('socialactions',
|
||||
->setParameter(
|
||||
'socialactions',
|
||||
SocialAction::getDescendantsWithThisForActions($data['accepted_socialactions'])->toArray()
|
||||
);
|
||||
}
|
||||
|
@@ -57,7 +57,8 @@ class SocialIssueFilter implements FilterInterface
|
||||
$clause = $qb->expr()->in('acpsocialissue.id', ':socialissues');
|
||||
|
||||
$qb->andWhere($clause)
|
||||
->setParameter('socialissues',
|
||||
->setParameter(
|
||||
'socialissues',
|
||||
SocialIssue::getDescendantsWithThisForIssues($data['accepted_socialissues'])
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user