Non-canonical cast (boolean) fix (#1145)

This commit is contained in:
Wim Wisselink
2025-10-17 14:45:38 +02:00
committed by GitHub
parent 1fc41e385d
commit 21d7fbb67e

View File

@@ -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;
}