summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Wisselink <wim@secudoc.nl>2025-10-17 14:45:38 +0200
committerGitHub <noreply@github.com>2025-10-17 14:45:38 +0200
commit21d7fbb67e8c6098084d9ba49d5cef07c8de49be (patch)
tree8501d4af869f1ef0b503cd25a987f2dbc37b8e08
parent1fc41e385da8a27a87bec5914392ab662a7bb8ec (diff)
downloadsmarty-21d7fbb67e8c6098084d9ba49d5cef07c8de49be.tar.gz
smarty-21d7fbb67e8c6098084d9ba49d5cef07c8de49be.tar.bz2
smarty-21d7fbb67e8c6098084d9ba49d5cef07c8de49be.zip
Non-canonical cast (boolean) fix (#1145)
-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;
}