From 54498fbd73953fc48b9e3b34d51c328b0df66a81 Mon Sep 17 00:00:00 2001 From: Gnieark Date: Sun, 3 Jun 2018 00:23:51 +0200 Subject: [PATCH] hhvm --- TplBlock.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TplBlock.php b/TplBlock.php index e1baa32..bcffb57 100644 --- a/TplBlock.php +++ b/TplBlock.php @@ -177,13 +177,13 @@ class TplBlock * @param $subBlocsDefinitions the associative array * @return TplBlock For chaining. */ - public function addSubBlocsDefinitions(ARRAY $subBlocsDefinitions, $deleteExistingsBlocs=false) + public function addSubBlocsDefinitions($subBlocsDefinitions) { foreach($subBlocsDefinitions as $itemKey => $itemValue){ if(is_array($itemValue)){ $subBloc = new TplBlock($itemKey); - $subBloc->addSubBlocsDefinitions($itemValue,$deleteExistingsBlocs); + $subBloc->addSubBlocsDefinitions($itemValue); $this->addSubBlock($subBloc); }else{ $this->addVars(array($itemKey => $itemValue));