Passed
Push — master ( 56c5a1...24d0fb )
by Joas
10:52 queued 12s
created
apps/files_sharing/lib/Controller/RemoteController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
 			return new DataResponse();
84 84
 		}
85 85
 
86
-		$this->logger->error('Could not accept federated share with id: ' . $id,
86
+		$this->logger->error('Could not accept federated share with id: '.$id,
87 87
 			['app' => 'files_sharing']);
88 88
 
89 89
 		throw new OCSNotFoundException('wrong share ID, share doesn\'t exist.');
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 	 * @return array enriched share info with data from the filecache
115 115
 	 */
116 116
 	private static function extendShareInfo($share) {
117
-		$view = new \OC\Files\View('/' . \OC_User::getUser() . '/files/');
117
+		$view = new \OC\Files\View('/'.\OC_User::getUser().'/files/');
118 118
 		$info = $view->getFileInfo($share['mountpoint']);
119 119
 
120 120
 		if ($info === false) {
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
 			throw new OCSNotFoundException('Share does not exist');
182 182
 		}
183 183
 
184
-		$mountPoint = '/' . \OC_User::getUser() . '/files' . $shareInfo['mountpoint'];
184
+		$mountPoint = '/'.\OC_User::getUser().'/files'.$shareInfo['mountpoint'];
185 185
 
186 186
 		if ($this->externalManager->removeShare($mountPoint) === true) {
187 187
 			return new DataResponse();
Please login to merge, or discard this patch.