Completed
Push — master ( 386cc0...5fe2ea )
by Matthew
05:36
created
Controller/ControllerTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,9 @@
 block discarded – undo
24 24
         }
25 25
     }
26 26
 
27
+    /**
28
+     * @param string $type
29
+     */
27 30
     protected function validateManagerType($type)
28 31
     {
29 32
         $managerType = $this->container->getParameter($type);
Please login to merge, or discard this patch.
Controller/TrendsController.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,6 @@  discard block
 block discarded – undo
36 36
     /**
37 37
      * @Route("/timings", name="dtc_queue_timings")
38 38
      *
39
-     * @param Request $request
40 39
      */
41 40
     public function getTimingsAction()
42 41
     {
@@ -56,6 +55,10 @@  discard block
 block discarded – undo
56 55
         return new JsonResponse($params);
57 56
     }
58 57
 
58
+    /**
59
+     * @param \DateTime|null $beginDate
60
+     * @param \DateTime $endDate
61
+     */
59 62
     protected function calculateTimings($type, $beginDate, $endDate)
60 63
     {
61 64
         $params = [];
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
         }
81 81
 
82 82
         $format = $this->getDateFormat($type);
83
-        usort($timingsDates, function ($date1str, $date2str) use ($format) {
83
+        usort($timingsDates, function($date1str, $date2str) use ($format) {
84 84
             $date1 = \DateTime::createFromFormat($format, $date1str);
85 85
             $date2 = \DateTime::createFromFormat($format, $date2str);
86 86
             if (!$date2) {
Please login to merge, or discard this patch.