Skip to content

Commit 21d7fbb

Browse files
authored
Non-canonical cast (boolean) fix (#1145)
1 parent 1fc41e3 commit 21d7fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TemplateBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public function registerObject(
104104
}
105105
// register the object
106106
$smarty->registered_objects[$object_name] =
107-
[$object, (array)$allowed_methods_properties, (boolean)$format, (array)$block_methods];
107+
[$object, (array)$allowed_methods_properties, (bool)$format, (array)$block_methods];
108108
return $this;
109109
}
110110

0 commit comments

Comments
 (0)