@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | /** |
32 | 32 | * Callback for Twig to get all the filters. |
33 | 33 | * |
34 | - * @return \Twig_Filter[] |
|
34 | + * @return \Twig_SimpleFilter[] |
|
35 | 35 | */ |
36 | 36 | public function getFilters() |
37 | 37 | { |
@@ -211,6 +211,7 @@ discard block |
||
211 | 211 | * Split duration into seconds, minutes, hours, days, weeks and years. |
212 | 212 | * |
213 | 213 | * @param int $seconds |
214 | + * @param integer $max |
|
214 | 215 | * @return array |
215 | 216 | */ |
216 | 217 | protected function splitDuration($seconds, $max) |