@@ -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 |
@@ -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 | { |
@@ -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) |
@@ -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) |
@@ -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) |
@@ -120,9 +120,9 @@ |
||
120 | 120 | * @api Smarty::isCached() |
121 | 121 | * @link http://www.smarty.net/docs/en/api.is.cached.tpl |
122 | 122 | * |
123 | - * @param null|string|\Smarty_Internal_Template $template the resource handle of the template file or template object |
|
124 | - * @param mixed $cache_id cache id to be used with this template |
|
125 | - * @param mixed $compile_id compile id to be used with this template |
|
123 | + * @param string $template the resource handle of the template file or template object |
|
124 | + * @param string|null $cache_id cache id to be used with this template |
|
125 | + * @param string|null $compile_id compile id to be used with this template |
|
126 | 126 | * @param object $parent next higher level of Smarty variables |
127 | 127 | * |
128 | 128 | * @return boolean cache status |