Completed
Pull Request — master (#37)
by San
10:18
created
sources/lib/Controller/PommProfilerController.php 2 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -72,6 +72,11 @@
 block discarded – undo
72 72
         return $this->explain($request, $token, $index_query, 'json');
73 73
     }
74 74
 
75
+    /**
76
+     * @param string $token
77
+     * @param integer $index_query
78
+     * @param string $format
79
+     */
75 80
     public function explain(Request $request, $token, $index_query, $format)
76 81
     {
77 82
         $panel = 'pomm';
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,8 +112,7 @@
 block discarded – undo
112 112
 
113 113
         if ($format === 'json') {
114 114
             $template = '@Pomm/Profiler/graph.html.twig';
115
-        }
116
-        else {
115
+        } else {
117 116
             $template = '@Pomm/Profiler/explain.html.twig';
118 117
         }
119 118
 
Please login to merge, or discard this patch.