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 13, 2023
1 parent 1f7968b commit 2b6f4db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/PrettyBlocksModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ public function updateConfig($stateRequest)
$fieldsRequest = array_filter($stateRequest, function ($field) {
return isset($field['type']) && $field['type'] !== 'title';
});

foreach ($fieldsRequest as $key => $field) {
$obj = (new FieldCore($field))->setAttribute('new_value', $field['value']);
$fields[$key] = $obj;
Expand Down

0 comments on commit 2b6f4db

Please sign in to comment.