| @@ -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) | 
| @@ -52,7 +52,7 @@ discard block | ||
| 52 | 52 | */ | 
| 53 | 53 | public function product($array) | 
| 54 | 54 |      { | 
| 55 | - return isset($array) ? array_product((array)$array) : null; | |
| 55 | + return isset($array) ? array_product((array)$array) : null; | |
| 56 | 56 | } | 
| 57 | 57 | |
| 58 | 58 | /** | 
| @@ -63,7 +63,7 @@ discard block | ||
| 63 | 63 | */ | 
| 64 | 64 | public function values($array) | 
| 65 | 65 |      { | 
| 66 | - return isset($array) ? array_values((array)$array) : null; | |
| 66 | + return isset($array) ? array_values((array)$array) : null; | |
| 67 | 67 | } | 
| 68 | 68 | |
| 69 | 69 | /** |