Skip to content

Commit

Permalink
php cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
PrestaSafe committed Nov 28, 2023
1 parent a23fdd5 commit 34213ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions classes/PrettyBlocksModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public function mergeStateWithFields()

$block['formatted'] = $this->formatBlock($block);
$block['extra'] = [];

$extraContent = Hook::exec('beforeRendering' . Tools::toCamelCase($this->code), [
'block' => $block,
'settings' => $block['settings'],
Expand All @@ -256,7 +256,7 @@ public function mergeStateWithFields()
$res = $additionnalFormFields;
}
}

$block['extra'] = $res;
$block['templates'] = $this->_getBlockTemplate($block);
$block['templateSelected'] = $this->_getTemplateSelected($block);
Expand Down Expand Up @@ -568,7 +568,7 @@ private function _getBlockTemplate($block)
if (!isset($block['templates'])) {
$block['templates'] = [];
}

return $block['templates'] + $res;
}

Expand Down

0 comments on commit 34213ea

Please sign in to comment.