diff --git a/src/CoreShop/Bundle/ClassDefinitionPatchBundle/Patcher.php b/src/CoreShop/Bundle/ClassDefinitionPatchBundle/Patcher.php index d7df7a62fa..09331701ce 100644 --- a/src/CoreShop/Bundle/ClassDefinitionPatchBundle/Patcher.php +++ b/src/CoreShop/Bundle/ClassDefinitionPatchBundle/Patcher.php @@ -120,8 +120,7 @@ protected function patchWithClassUpdate(PatchInterface $patch): ClassUpdate if ($classUpdater->hasField($field->getFieldName())) { if ($field->isReplace()) { $classUpdater->replaceField($field->getFieldName(), $field->getDefinition()); - } - else { + } else { $classUpdater->replaceFieldProperties($field->getFieldName(), $field->getDefinition()); } } elseif ($field->getBefore()) {