diff --git a/lib/Smarty/src/Smarty.php b/lib/Smarty/src/Smarty.php index fbb7314..b53a36c 100644 --- a/lib/Smarty/src/Smarty.php +++ b/lib/Smarty/src/Smarty.php @@ -54,7 +54,7 @@ class Smarty extends \Smarty\TemplateBase { /** * smarty version */ - const SMARTY_VERSION = '5.6.0'; + const SMARTY_VERSION = '5.7.0'; /** * define caching modes diff --git a/lib/Smarty/src/TemplateBase.php b/lib/Smarty/src/TemplateBase.php index f01d110..e06b591 100644 --- a/lib/Smarty/src/TemplateBase.php +++ b/lib/Smarty/src/TemplateBase.php @@ -104,7 +104,7 @@ abstract class TemplateBase extends Data { } // register the object $smarty->registered_objects[$object_name] = - [$object, (array)$allowed_methods_properties, (boolean)$format, (array)$block_methods]; + [$object, (array)$allowed_methods_properties, (bool)$format, (array)$block_methods]; return $this; }