From f3ecfd343813ee3093bb9bf1eff18e09b1cd8497 Mon Sep 17 00:00:00 2001
From: PanierAvide <panieravide@riseup.net>
Date: Wed, 20 Jan 2021 14:47:27 +0100
Subject: [PATCH] Fix indent in ElemSyncService

---
 src/Services/ElementSynchronizationService.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/Services/ElementSynchronizationService.php b/src/Services/ElementSynchronizationService.php
index 5327e5e3a..141617cce 100644
--- a/src/Services/ElementSynchronizationService.php
+++ b/src/Services/ElementSynchronizationService.php
@@ -41,13 +41,13 @@ class ElementSynchronizationService
                     'verbose' => true
                 ]);
 
-            $osmFeature = $this->elementToOsm($contribution->getElement());
+                $osmFeature = $this->elementToOsm($contribution->getElement());
 
-            // Get URL of current map
-            $url = $this->urlService->generateUrl();
+                // Get URL of current map
+                $url = $this->urlService->generateUrl();
 
-            // Check contribution validity according to OSM criterias
-            if($this->allowOsmUpload($contribution, $preparedData)) {
+                // Check contribution validity according to OSM criterias
+                if($this->allowOsmUpload($contribution, $preparedData)) {
                     $toAdd = null;
 
                     // Process contribution
-- 
GitLab