diff --git a/src/Bundle/ChillCalendarBundle/Export/Filter/JobFilter.php b/src/Bundle/ChillCalendarBundle/Export/Filter/JobFilter.php index da0cb5225..34e973bce 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Filter/JobFilter.php +++ b/src/Bundle/ChillCalendarBundle/Export/Filter/JobFilter.php @@ -60,8 +60,8 @@ class JobFilter implements FilterInterface "{$p}_history.startDate <= :{$p}_at AND ({$p}_history.endDate IS NULL OR {$p}_history.endDate > :{$p}_at)" ) ->setParameters([ - ["{$p}_job", $data["job"]], - ["{$p}_at", $this->rollingDateConverter->convert($data["job_at"])] + "{$p}_job" => $data["job"], + "{$p}_at" => $this->rollingDateConverter->convert($data["job_at"]) ]) ; diff --git a/src/Bundle/ChillCalendarBundle/Export/Filter/ScopeFilter.php b/src/Bundle/ChillCalendarBundle/Export/Filter/ScopeFilter.php index e8171dbf2..7f578ac86 100644 --- a/src/Bundle/ChillCalendarBundle/Export/Filter/ScopeFilter.php +++ b/src/Bundle/ChillCalendarBundle/Export/Filter/ScopeFilter.php @@ -57,8 +57,8 @@ class ScopeFilter implements FilterInterface "{$p}_history.startDate <= :{$p}_at AND ({$p}_history.endDate IS NULL OR {$p}_history.endDate > :{$p}_at)" ) ->setParameters([ - ["{$p}_scope", $data["scope"]], - ["{$p}_at", $this->rollingDateConverter->convert($data['scope_at'])] + "{$p}_scope" => $data["scope"], + "{$p}_at" => $this->rollingDateConverter->convert($data['scope_at']) ]); } diff --git a/src/Bundle/ChillPersonBundle/Export/Filter/AccompanyingCourseFilters/UserJobFilter.php b/src/Bundle/ChillPersonBundle/Export/Filter/AccompanyingCourseFilters/UserJobFilter.php index c221d0280..e31e51ccc 100644 --- a/src/Bundle/ChillPersonBundle/Export/Filter/AccompanyingCourseFilters/UserJobFilter.php +++ b/src/Bundle/ChillPersonBundle/Export/Filter/AccompanyingCourseFilters/UserJobFilter.php @@ -75,8 +75,8 @@ class UserJobFilter implements FilterInterface $qb->expr()->in("{$p}_jobHistory.job", ":{$p}_job") ) ->setParameters([ - ["{$p}_job", $data["jobs"]], - ["{$p}_date", $this->rollingDateConverter->convert($data["date_calc"])] + "{$p}_job" => $data["jobs"], + "{$p}_date" => $this->rollingDateConverter->convert($data["date_calc"]) ]) ; } diff --git a/src/Bundle/ChillPersonBundle/Export/Filter/AccompanyingCourseFilters/UserScopeFilter.php b/src/Bundle/ChillPersonBundle/Export/Filter/AccompanyingCourseFilters/UserScopeFilter.php index d530e0bd2..607e442eb 100644 --- a/src/Bundle/ChillPersonBundle/Export/Filter/AccompanyingCourseFilters/UserScopeFilter.php +++ b/src/Bundle/ChillPersonBundle/Export/Filter/AccompanyingCourseFilters/UserScopeFilter.php @@ -75,8 +75,8 @@ class UserScopeFilter implements FilterInterface $qb->expr()->in("{$p}_scopeHistory.scope", ":{$p}_scopes") ) ->setParameters([ - ["{$p}_scopes", $data["scopes"]], - ["{$p}_date", $this->rollingDateConverter->convert($data["date_calc"])] + "{$p}_scopes" => $data["scopes"], + "{$p}_date" => $this->rollingDateConverter->convert($data["date_calc"]) ]) ; } diff --git a/src/Bundle/ChillPersonBundle/Export/Filter/SocialWorkFilters/JobFilter.php b/src/Bundle/ChillPersonBundle/Export/Filter/SocialWorkFilters/JobFilter.php index 7eaa1fc74..a05e4b1d2 100644 --- a/src/Bundle/ChillPersonBundle/Export/Filter/SocialWorkFilters/JobFilter.php +++ b/src/Bundle/ChillPersonBundle/Export/Filter/SocialWorkFilters/JobFilter.php @@ -67,8 +67,8 @@ class JobFilter implements FilterInterface $qb->expr()->in("{$p}_history.job", ":{$p}_job") ) ->setParameters([ - ["{$p}_job", $data["job"]], - ["{$p}_at", $this->rollingDateConverter->convert($data['job_at'])] + "{$p}_job" => $data["job"], + "{$p}_at" => $this->rollingDateConverter->convert($data['job_at']) ]); } diff --git a/src/Bundle/ChillPersonBundle/Export/Filter/SocialWorkFilters/ScopeFilter.php b/src/Bundle/ChillPersonBundle/Export/Filter/SocialWorkFilters/ScopeFilter.php index 5f15ccbaa..465569198 100644 --- a/src/Bundle/ChillPersonBundle/Export/Filter/SocialWorkFilters/ScopeFilter.php +++ b/src/Bundle/ChillPersonBundle/Export/Filter/SocialWorkFilters/ScopeFilter.php @@ -65,8 +65,8 @@ class ScopeFilter implements FilterInterface $qb->expr()->in("{$p}_history.scope", ":{$p}_scope") ) ->setParameters([ - ["{$p}_scope", $data["scope"]], - ["{$p}_at", $this->rollingDateConverter->convert($data['scope_at'])] + "{$p}_scope" => $data["scope"], + "{$p}_at" => $this->rollingDateConverter->convert($data['scope_at']) ]); }