@@ -211,9 +211,9 @@ |
||
211 | 211 | * @param $key |
212 | 212 | * @param $values |
213 | 213 | * @param $selected |
214 | - * @param $id |
|
214 | + * @param string|null $id |
|
215 | 215 | * @param $class |
216 | - * @param $idx |
|
216 | + * @param integer $idx |
|
217 | 217 | * |
218 | 218 | * @return string |
219 | 219 | */ |
@@ -168,15 +168,15 @@ |
||
168 | 168 | } |
169 | 169 | |
170 | 170 | /** |
171 | - * @param $name |
|
171 | + * @param string $name |
|
172 | 172 | * @param $value |
173 | 173 | * @param $output |
174 | 174 | * @param $selected |
175 | - * @param $extra |
|
176 | - * @param $separator |
|
177 | - * @param $labels |
|
178 | - * @param $label_ids |
|
179 | - * @param $escape |
|
175 | + * @param string $extra |
|
176 | + * @param string $separator |
|
177 | + * @param boolean $labels |
|
178 | + * @param boolean $label_ids |
|
179 | + * @param boolean $escape |
|
180 | 180 | * |
181 | 181 | * @return string |
182 | 182 | */ |
@@ -165,8 +165,8 @@ |
||
165 | 165 | } |
166 | 166 | |
167 | 167 | /** |
168 | - * @param $name |
|
169 | - * @param $var |
|
168 | + * @param string $name |
|
169 | + * @param string $var |
|
170 | 170 | * @param $no |
171 | 171 | * |
172 | 172 | * @return string |
@@ -618,7 +618,7 @@ discard block |
||
618 | 618 | /** |
619 | 619 | * Enable error handler to mute expected messages |
620 | 620 | * |
621 | - * @return boolean |
|
621 | + * @return boolean|null |
|
622 | 622 | * @deprecated |
623 | 623 | */ |
624 | 624 | public static function muteExpectedErrors() |
@@ -998,7 +998,7 @@ discard block |
||
998 | 998 | * @param string $template_name |
999 | 999 | * @param null|mixed $cache_id |
1000 | 1000 | * @param null|mixed $compile_id |
1001 | - * @param null $caching |
|
1001 | + * @param integer $caching |
|
1002 | 1002 | * @param \Smarty_Internal_Template $template |
1003 | 1003 | * |
1004 | 1004 | * @return string |
@@ -270,6 +270,7 @@ discard block |
||
270 | 270 | * {@internal the header uses 8 Bytes, the first 4 Bytes are the seconds, the second 4 Bytes are the microseconds}} |
271 | 271 | * |
272 | 272 | * @param string &$content the content to be cached |
273 | + * @param string $content |
|
273 | 274 | */ |
274 | 275 | protected function addMetaTimestamp(&$content) |
275 | 276 | { |
@@ -283,7 +284,7 @@ discard block |
||
283 | 284 | * |
284 | 285 | * @param string &$content the cached content |
285 | 286 | * |
286 | - * @return float the microtime the content was cached |
|
287 | + * @return integer the microtime the content was cached |
|
287 | 288 | */ |
288 | 289 | protected function getMetaTimestamp(&$content) |
289 | 290 | { |
@@ -379,7 +380,7 @@ discard block |
||
379 | 380 | * @param string $compile_id compile id |
380 | 381 | * @param string $resource_uid source's filepath |
381 | 382 | * |
382 | - * @return array list of InvalidationKeys |
|
383 | + * @return string[] list of InvalidationKeys |
|
383 | 384 | * @uses $invalidationKeyPrefix to prepend to each InvalidationKey |
384 | 385 | */ |
385 | 386 | protected function listInvalidationKeys($cid, $resource_name = null, $cache_id = null, $compile_id = null, |
@@ -471,7 +472,7 @@ discard block |
||
471 | 472 | /** |
472 | 473 | * Read values for a set of keys from cache |
473 | 474 | * |
474 | - * @param array $keys list of keys to fetch |
|
475 | + * @param string[] $keys list of keys to fetch |
|
475 | 476 | * |
476 | 477 | * @return array list of values with the given keys used as indexes |
477 | 478 | */ |
@@ -490,7 +491,7 @@ discard block |
||
490 | 491 | /** |
491 | 492 | * Remove values from cache |
492 | 493 | * |
493 | - * @param array $keys list of keys to delete |
|
494 | + * @param string[] $keys list of keys to delete |
|
494 | 495 | * |
495 | 496 | * @return boolean true on success, false on failure |
496 | 497 | */ |
@@ -91,7 +91,7 @@ |
||
91 | 91 | * Compiles code for the {/function} tag |
92 | 92 | * |
93 | 93 | * @param array $args array with attributes from parser |
94 | - * @param object|\Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
94 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
95 | 95 | * |
96 | 96 | * @return bool true |
97 | 97 | */ |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object |
24 | 24 | * @param array $parameter array with compilation parameter |
25 | 25 | * |
26 | - * @return string compiled code |
|
26 | + * @return boolean compiled code |
|
27 | 27 | */ |
28 | 28 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter) |
29 | 29 | { |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * @param array $args array with attributes from parser |
52 | 52 | * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object |
53 | 53 | * |
54 | - * @return string compiled code |
|
54 | + * @return boolean compiled code |
|
55 | 55 | */ |
56 | 56 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler) |
57 | 57 | { |
@@ -96,7 +96,7 @@ |
||
96 | 96 | * |
97 | 97 | * @param Smarty_Internal_Template $template |
98 | 98 | * |
99 | - * @return bool true if compiling succeeded, false if it failed |
|
99 | + * @return string true if compiling succeeded, false if it failed |
|
100 | 100 | * @throws \SmartyException |
101 | 101 | */ |
102 | 102 | public function compileTemplate(Smarty_Internal_Template $template) |
@@ -147,6 +147,9 @@ discard block |
||
147 | 147 | $this->configBooleanize = $this->smarty->config_booleanize; |
148 | 148 | } |
149 | 149 | |
150 | + /** |
|
151 | + * @param string $input |
|
152 | + */ |
|
150 | 153 | public function replace($input) |
151 | 154 | { |
152 | 155 | return $input; |
@@ -163,6 +166,9 @@ discard block |
||
163 | 166 | return $this->{'yylex' . $this->_yy_state}(); |
164 | 167 | } |
165 | 168 | |
169 | + /** |
|
170 | + * @param integer $state |
|
171 | + */ |
|
166 | 172 | public function yypushstate($state) |
167 | 173 | { |
168 | 174 | if ($this->yyTraceFILE) { |