@@ -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) { |
@@ -120,7 +120,7 @@ |
||
120 | 120 | * @link http://www.smarty.net/docs/en/api.append.tpl |
121 | 121 | * |
122 | 122 | * @param array|string $tpl_var the template variable name(s) |
123 | - * @param mixed $value the value to append |
|
123 | + * @param string $value the value to append |
|
124 | 124 | * @param bool $merge flag if array elements shall be merged |
125 | 125 | * @param bool $nocache if true any output of this variable will |
126 | 126 | * be not cached |
@@ -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 | * @throws \Exception |
@@ -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) |
@@ -108,7 +108,7 @@ |
||
108 | 108 | * @param string $file |
109 | 109 | * @param \Smarty $smarty |
110 | 110 | * |
111 | - * @return bool|string full filepath or false |
|
111 | + * @return string|false full filepath or false |
|
112 | 112 | * |
113 | 113 | */ |
114 | 114 | 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) |