@@ -993,7 +993,7 @@ discard block |
||
| 993 | 993 | * |
| 994 | 994 | * @param string $dirName directory property name |
| 995 | 995 | * @param string|array $dir directory string or array of strings |
| 996 | - * @param mixed $key optional key |
|
| 996 | + * @param string|null $key optional key |
|
| 997 | 997 | */ |
| 998 | 998 | private function _addDir($dirName, $dir, $key = null) |
| 999 | 999 | { |
@@ -1100,7 +1100,7 @@ discard block |
||
| 1100 | 1100 | * @param string $template_name |
| 1101 | 1101 | * @param null|mixed $cache_id |
| 1102 | 1102 | * @param null|mixed $compile_id |
| 1103 | - * @param null $caching |
|
| 1103 | + * @param integer $caching |
|
| 1104 | 1104 | * |
| 1105 | 1105 | * @return string |
| 1106 | 1106 | */ |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object |
| 69 | 69 | * @param array $parameter array with compilation parameter |
| 70 | 70 | * |
| 71 | - * @return bool true |
|
| 71 | + * @return boolean|null true |
|
| 72 | 72 | */ |
| 73 | 73 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter) |
| 74 | 74 | { |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | * @param \Smarty_Internal_TemplateCompilerBase $compiler compiler object |
| 160 | 160 | * @param array $parameter array with compilation parameter |
| 161 | 161 | * |
| 162 | - * @return bool true |
|
| 162 | + * @return string true |
|
| 163 | 163 | */ |
| 164 | 164 | public function compile($args, Smarty_Internal_TemplateCompilerBase $compiler, $parameter) |
| 165 | 165 | { |
@@ -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) { |