From 44577e4345066952622feca9ef69c24fc23d08ab Mon Sep 17 00:00:00 2001
From: Christoph Wurst <christoph@winzerhof-wurst.at>
Date: Thu, 9 Apr 2020 16:07:47 +0200
Subject: Remove trailing and in between spaces

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
---
 build/integration/features/bootstrap/Sharing.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'build/integration/features')

diff --git a/build/integration/features/bootstrap/Sharing.php b/build/integration/features/bootstrap/Sharing.php
index cc08470e987..590e0c4663c 100644
--- a/build/integration/features/bootstrap/Sharing.php
+++ b/build/integration/features/bootstrap/Sharing.php
@@ -504,11 +504,11 @@ trait Sharing {
 			$fd = $body->getRowsHash();
 
 			foreach($fd as $field => $value) {
-				if (substr($field, 0, 10 ) === "share_with"){
+				if (substr($field, 0, 10) === "share_with"){
 					$value = str_replace("REMOTE", substr($this->remoteBaseUrl, 0, -5), $value);
 					$value = str_replace("LOCAL", substr($this->localBaseUrl, 0, -5), $value);
 				}
-				if (substr($field, 0, 6 ) === "remote"){
+				if (substr($field, 0, 6) === "remote"){
 					$value = str_replace("REMOTE", substr($this->remoteBaseUrl, 0, -4), $value);
 					$value = str_replace("LOCAL", substr($this->localBaseUrl, 0, -4), $value);
 				}
-- 
cgit v1.2.3