diff --git a/src/Template/Element/action-groups.ctp b/src/Template/Element/action-groups.ctp
index 19bebb68..f4142087 100644
--- a/src/Template/Element/action-groups.ctp
+++ b/src/Template/Element/action-groups.ctp
@@ -17,10 +17,10 @@ foreach ($groups as $key => $group) {
$group) : ?>
= $this->Html->link(
- sprintf("%s %s", $key, $this->Html->tag('span', null, ['class' => 'caret'])),
+ sprintf("%s %s", $key, $this->Html->tag('span', '', ['class' => 'caret'])),
'#',
- ['class' => 'btn btn-default dropdown-toggle', 'escape' => false, 'data-toggle' => 'dropdown', 'aria-haspopup' => true, 'aria-expanded' => false]);
- ?>
+ ['class' => 'btn btn-default dropdown-toggle', 'escape' => false, 'data-toggle' => 'dropdown', 'aria-haspopup' => true, 'aria-expanded' => false]
+ ) ?>