summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/TemplateBase.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TemplateBase.php b/src/TemplateBase.php
index f01d1107..e06b5917 100644
--- a/src/TemplateBase.php
+++ b/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;
}