@@ -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 | { |
@@ -14,7 +14,7 @@ |
||
14 | 14 | * Construct Exception. |
15 | 15 | * |
16 | 16 | * @param string $message Message |
17 | - * @param mixed $data |
|
17 | + * @param string $data |
|
18 | 18 | * @param int $code |
19 | 19 | * @param \Throwable $previous |
20 | 20 | */ |
@@ -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+$/'; |
@@ -11,7 +11,7 @@ |
||
11 | 11 | /** |
12 | 12 | * Check if this parser is applicable |
13 | 13 | * |
14 | - * @return bool |
|
14 | + * @return integer |
|
15 | 15 | */ |
16 | 16 | public function canParse($value) |
17 | 17 | { |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | * Returns a list of namespaces as array with a forward slash to split the namespace & bundle. |
148 | 148 | * |
149 | 149 | * @param Kernel $kernel |
150 | - * @return array |
|
150 | + * @return null|\Symfony\Component\Console\Question\iterable |
|
151 | 151 | */ |
152 | 152 | private function getNamespaceAutoComplete(Kernel $kernel) |
153 | 153 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | * Replaces '\' with '/'. |
164 | 164 | * |
165 | 165 | * @param $namespace |
166 | - * @return mixed |
|
166 | + * @return string |
|
167 | 167 | */ |
168 | 168 | private function fixNamespace($namespace) |
169 | 169 | { |