@@ -119,7 +119,7 @@ |
||
119 | 119 | /** |
120 | 120 | * Create source code for {extends} from source components array |
121 | 121 | * |
122 | - * @param []\Smarty_Internal_Template_Source $components |
|
122 | + * @param Smarty_Template_Source[] $components |
|
123 | 123 | * |
124 | 124 | * @return string |
125 | 125 | */ |
@@ -93,7 +93,7 @@ |
||
93 | 93 | * Compiles code for the {/function} tag |
94 | 94 | * |
95 | 95 | * @param array $args array with attributes from parser |
96 | - * @param object|\Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
96 | + * @param Smarty_Internal_TemplateCompilerBase $compiler compiler object |
|
97 | 97 | * @param array $parameter array with compilation parameter |
98 | 98 | * |
99 | 99 | * @return bool true |
@@ -305,7 +305,7 @@ |
||
305 | 305 | * @param $fullResourceName |
306 | 306 | * @param $_caching |
307 | 307 | * @param $hashResourceName |
308 | - * @param $t_hash |
|
308 | + * @param string $t_hash |
|
309 | 309 | * @param $c_id |
310 | 310 | * |
311 | 311 | * @return bool |
@@ -101,7 +101,7 @@ |
||
101 | 101 | * |
102 | 102 | * This code has been moved from lexer here fo easier debugging and maintenance |
103 | 103 | * |
104 | - * @param $lex |
|
104 | + * @param Smarty_Internal_Templatelexer $lex |
|
105 | 105 | */ |
106 | 106 | public function parsePhp($lex) |
107 | 107 | { |
@@ -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 | */ |
101 | 101 | public function compileTemplate(Smarty_Internal_Template $template) |
102 | 102 | { |
@@ -152,6 +152,9 @@ discard block |
||
152 | 152 | $this->configBooleanize = $this->smarty->config_booleanize; |
153 | 153 | } |
154 | 154 | |
155 | + /** |
|
156 | + * @param Smarty_Internal_Configfilelexer $new_instance |
|
157 | + */ |
|
155 | 158 | public static function &instance($new_instance = null) |
156 | 159 | { |
157 | 160 | static $instance = null; |
@@ -176,6 +179,9 @@ discard block |
||
176 | 179 | return $this->{'yylex' . $this->_yy_state}(); |
177 | 180 | } |
178 | 181 | |
182 | + /** |
|
183 | + * @param integer $state |
|
184 | + */ |
|
179 | 185 | public function yypushstate($state) |
180 | 186 | { |
181 | 187 | if ($this->yyTraceFILE) { |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | } |
179 | 179 | |
180 | 180 | /** |
181 | - * @param null $new_instance |
|
181 | + * @param Smarty_Internal_Configfileparser $new_instance |
|
182 | 182 | * |
183 | 183 | * @return null |
184 | 184 | */ |
@@ -924,6 +924,9 @@ discard block |
||
924 | 924 | $this->retvalue = $this->_retvalue; |
925 | 925 | } |
926 | 926 | |
927 | + /** |
|
928 | + * @param integer $yymajor |
|
929 | + */ |
|
927 | 930 | public function doParse($yymajor, $yytokenvalue) |
928 | 931 | { |
929 | 932 | $yyerrorhit = 0; /* True if yymajor has invoked an error */ |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | * Start logging template |
49 | 49 | * |
50 | 50 | * @param \Smarty_Internal_Template $template template |
51 | - * @param null $mode true: display false: fetch null: subtemplate |
|
51 | + * @param null|boolean $mode true: display false: fetch null: subtemplate |
|
52 | 52 | */ |
53 | 53 | public function start_template(Smarty_Internal_Template $template, $mode = null) |
54 | 54 | { |
@@ -191,7 +191,7 @@ discard block |
||
191 | 191 | /** |
192 | 192 | * Opens a window for the Smarty Debugging Console and display the data |
193 | 193 | * |
194 | - * @param Smarty_Internal_Template|Smarty $obj object to debug |
|
194 | + * @param Smarty_Internal_Template $obj object to debug |
|
195 | 195 | * @param bool $full |
196 | 196 | */ |
197 | 197 | public function display_debug($obj, $full = false) |