@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | /** |
| 171 | - * @return RedirectResponse |
|
| 171 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
| 172 | 172 | */ |
| 173 | 173 | public function retryFailedAction() |
| 174 | 174 | { |
@@ -180,7 +180,7 @@ discard block |
||
| 180 | 180 | } |
| 181 | 181 | |
| 182 | 182 | /** |
| 183 | - * @return RedirectResponse |
|
| 183 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
| 184 | 184 | */ |
| 185 | 185 | public function retryClearFailedAction() |
| 186 | 186 | { |
@@ -192,7 +192,7 @@ discard block |
||
| 192 | 192 | } |
| 193 | 193 | |
| 194 | 194 | /** |
| 195 | - * @return RedirectResponse |
|
| 195 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
| 196 | 196 | */ |
| 197 | 197 | public function clearFailedAction() |
| 198 | 198 | { |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | { |
| 175 | 175 | $count = $this->getResque()->retryFailedJobs(); |
| 176 | 176 | |
| 177 | - $this->addFlash('info', 'Retry '.$count.' failed jobs.'); |
|
| 177 | + $this->addFlash('info', 'Retry ' . $count . ' failed jobs.'); |
|
| 178 | 178 | |
| 179 | 179 | return $this->redirectToRoute('ResqueBundle_homepage'); |
| 180 | 180 | } |
@@ -186,7 +186,7 @@ discard block |
||
| 186 | 186 | { |
| 187 | 187 | $count = $this->getResque()->retryFailedJobs(true); |
| 188 | 188 | |
| 189 | - $this->addFlash('info', 'Retry and clear '.$count.' failed jobs.'); |
|
| 189 | + $this->addFlash('info', 'Retry and clear ' . $count . ' failed jobs.'); |
|
| 190 | 190 | |
| 191 | 191 | return $this->redirectToRoute('ResqueBundle_homepage'); |
| 192 | 192 | } |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | { |
| 199 | 199 | $count = $this->getResque()->clearFailedJobs(); |
| 200 | 200 | |
| 201 | - $this->addFlash('info', 'Clear '.$count.' failed jobs.'); |
|
| 201 | + $this->addFlash('info', 'Clear ' . $count . ' failed jobs.'); |
|
| 202 | 202 | |
| 203 | 203 | return $this->redirectToRoute('ResqueBundle_homepage'); |
| 204 | 204 | } |