@@ -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) |
@@ -163,7 +163,7 @@ |
||
163 | 163 | * @param string $varName the name of the config variable |
164 | 164 | * @param bool $errorEnable |
165 | 165 | * |
166 | - * @return mixed the value of the config variable |
|
166 | + * @return string|null the value of the config variable |
|
167 | 167 | */ |
168 | 168 | public function _getConfigVariable(Smarty_Internal_Template $tpl, $varName, $errorEnable = true) |
169 | 169 | { |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * @param \Smarty_Internal_Data|\Smarty_Internal_Template|\Smarty $data |
27 | 27 | * @param string $variable the stream of the variable |
28 | 28 | * |
29 | - * @return mixed |
|
29 | + * @return string|null |
|
30 | 30 | * @throws \SmartyException |
31 | 31 | */ |
32 | 32 | public function getStreamVariable(Smarty_Internal_Data $data, $variable) |
@@ -22,7 +22,7 @@ |
||
22 | 22 | * @param string $type filter type |
23 | 23 | * @param string $name filter name |
24 | 24 | * |
25 | - * @return bool |
|
25 | + * @return Smarty_Internal_TemplateBase |
|
26 | 26 | */ |
27 | 27 | public function unloadFilter(Smarty_Internal_TemplateBase $obj, $type, $name) |
28 | 28 | { |
@@ -115,7 +115,7 @@ |
||
115 | 115 | * @param string $file |
116 | 116 | * @param \Smarty $smarty |
117 | 117 | * |
118 | - * @return bool|string full filepath or false |
|
118 | + * @return string|false full filepath or false |
|
119 | 119 | * |
120 | 120 | */ |
121 | 121 | public function getIncludePath($dirs, $file, Smarty $smarty) |
@@ -76,7 +76,7 @@ |
||
76 | 76 | * |
77 | 77 | * @param \Smarty_Template_Cached $cached |
78 | 78 | * @param \Smarty_Internal_Template $_template |
79 | - * @param $no_output_filter |
|
79 | + * @param boolean $no_output_filter |
|
80 | 80 | * |
81 | 81 | * @throws \Exception |
82 | 82 | */ |
@@ -79,7 +79,7 @@ |
||
79 | 79 | * @param mixed $_content template source |
80 | 80 | * @param bool $isTemplateSource |
81 | 81 | * |
82 | - * @return bool true if compiling succeeded, false if it failed |
|
82 | + * @return string true if compiling succeeded, false if it failed |
|
83 | 83 | * @throws \SmartyCompilerException |
84 | 84 | */ |
85 | 85 | protected function doCompile($_content, $isTemplateSource = false) |