@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a list of functions to add to the existing list. |
| 19 | 19 | * |
| 20 | - * @return array An array of functions |
|
| 20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 21 | 21 | */ |
| 22 | 22 | public function getFunctions() |
| 23 | 23 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Get Twig functions defined in this extension. |
| 31 | 31 | * |
| 32 | - * @return array |
|
| 32 | + * @return \Twig_SimpleFunction[] |
|
| 33 | 33 | */ |
| 34 | 34 | public function getFunctions() |
| 35 | 35 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Get Twig functions defined in this extension. |
| 31 | 31 | * |
| 32 | - * @return array |
|
| 32 | + * @return \Twig_SimpleFunction[] |
|
| 33 | 33 | */ |
| 34 | 34 | public function getFunctions() |
| 35 | 35 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a list of functions to add to the existing list. |
| 19 | 19 | * |
| 20 | - * @return array An array of functions |
|
| 20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 21 | 21 | */ |
| 22 | 22 | public function getFunctions() |
| 23 | 23 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a list of functions to add to the existing list. |
| 19 | 19 | * |
| 20 | - * @return array An array of functions |
|
| 20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 21 | 21 | */ |
| 22 | 22 | public function getFunctions() |
| 23 | 23 | { |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * Returns a list of functions to add to the existing list. |
| 18 | 18 | * |
| 19 | - * @return array An array of functions |
|
| 19 | + * @return Twig_SimpleFunction[] An array of functions |
|
| 20 | 20 | */ |
| 21 | 21 | public function getFunctions() |
| 22 | 22 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a list of functions to add to the existing list. |
| 19 | 19 | * |
| 20 | - * @return array An array of functions |
|
| 20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 21 | 21 | */ |
| 22 | 22 | public function getFunctions() |
| 23 | 23 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a list of functions to add to the existing list. |
| 19 | 19 | * |
| 20 | - * @return array An array of functions |
|
| 20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 21 | 21 | */ |
| 22 | 22 | public function getFunctions() |
| 23 | 23 | { |
@@ -227,6 +227,11 @@ |
||
| 227 | 227 | return $translation; |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | + /** |
|
| 231 | + * @param string $string |
|
| 232 | + * |
|
| 233 | + * @return string |
|
| 234 | + */ |
|
| 230 | 235 | private function incrementString($string, $append = '-v') |
| 231 | 236 | { |
| 232 | 237 | $finalDigitGrabberRegex = '/\d+$/'; |