Compare commits

...

1 Commits

Author SHA1 Message Date
Clemens Schwaighofer
d56ee68482 Fix missing default null in setSmartyVarsFrontend 2023-03-13 10:36:05 +09:00

View File

@@ -453,8 +453,8 @@ class SmartyExtend extends \Smarty
* this is for frontend type and will not set any only admin needed variables * this is for frontend type and will not set any only admin needed variables
* *
* @param array<string,string> $options list with the following value: * @param array<string,string> $options list with the following value:
* compile_dir :BASE . TEMPLATES_C * compile_dir :BASE . TEMPLATES_C
* cache_dir :BASE . CACHE * cache_dir :BASE . CACHE
* js :JS * js :JS
* css :CSS * css :CSS
* font :FONT * font :FONT
@@ -468,7 +468,7 @@ class SmartyExtend extends \Smarty
*/ */
public function setSmartyVarsFrontend( public function setSmartyVarsFrontend(
array $options, array $options,
?\CoreLibs\Admin\Backend $cms ?\CoreLibs\Admin\Backend $cms = null
): void { ): void {
$this->setSmartyVars( $this->setSmartyVars(
false, false,
@@ -493,8 +493,8 @@ class SmartyExtend extends \Smarty
* wrapper call for setSmartyVars * wrapper call for setSmartyVars
* this is only for admin interface and will set additional variables * this is only for admin interface and will set additional variables
* @param array<string,string> $options list with the following value: * @param array<string,string> $options list with the following value:
* compile_dir :BASE . TEMPLATES_C * compile_dir :BASE . TEMPLATES_C
* cache_dir :BASE . CACHE * cache_dir :BASE . CACHE
* js :JS * js :JS
* css :CSS * css :CSS
* font :FONT * font :FONT