@@ -72,6 +72,9 @@ discard block |
||
| 72 | 72 | return $params; |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | + /** |
|
| 76 | + * @param string $type |
|
| 77 | + */ |
|
| 75 | 78 | protected function validateManagerType($type) |
| 76 | 79 | { |
| 77 | 80 | $managerType = $this->container->getParameter($type); |
@@ -187,7 +190,6 @@ discard block |
||
| 187 | 190 | /** |
| 188 | 191 | * @Route("/timings", name="dtc_queue_timings") |
| 189 | 192 | * |
| 190 | - * @param Request $request |
|
| 191 | 193 | */ |
| 192 | 194 | public function getTimingsAction() |
| 193 | 195 | { |
@@ -210,7 +210,7 @@ |
||
| 210 | 210 | } else { |
| 211 | 211 | $timings = $this->getJobTimingsOrm($type, $endDate, $beginDate); |
| 212 | 212 | } |
| 213 | - uksort($timings, function ($date1str, $date2str) { |
|
| 213 | + uksort($timings, function($date1str, $date2str) { |
|
| 214 | 214 | $date1 = \DateTime::createFromFormat('Y-m-d H', $date1str); |
| 215 | 215 | $date2 = \DateTime::createFromFormat('Y-m-d H', $date2str); |
| 216 | 216 | if (!$date2) { |