diff --git a/apps/files_external/lib/webdav.php b/apps/files_external/lib/webdav.php
index 2503fb80b1b0cfbfad2dd2dfc05a3b451d4c747b..02fe540d061bf132f39c08cd0c324ab7b515e5aa 100644
--- a/apps/files_external/lib/webdav.php
+++ b/apps/files_external/lib/webdav.php
@@ -46,7 +46,7 @@ class OC_FileStorage_DAV extends OC_Filestorage_Common{
 
 		if($caview = \OCP\Files::getStorage('files_external')) {
 			$certPath=\OCP\Config::getSystemValue('datadirectory').$caview->getAbsolutePath("").'rootcerts.crt';
-			if (file_exists($certPath))  {
+			if (file_exists($certPath)) {
 				$this->client->addTrustedCertificates($certPath);
 			}
 		}
diff --git a/lib/util.php b/lib/util.php
index d16424ce4e19857fa102490851d61b8e5de81234..40b44bf9d6eb2d6d760c114785813362f074531c 100755
--- a/lib/util.php
+++ b/lib/util.php
@@ -559,7 +559,7 @@ class OC_Util {
 		// creating a test file
 		$testfile = OC_Config::getValue( "datadirectory", OC::$SERVERROOT."/data" ).'/'.$filename;
 
-		if(file_exists($testfile)){// already running this test, possible recursive call
+		if(file_exists($testfile)) {// already running this test, possible recursive call
 			return false;
 		}