@@ -72,6 +72,11 @@ |
||
| 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'; |
@@ -112,8 +112,7 @@ |
||
| 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 | |