Completed
Push — master ( 3564a7...c8469e )
by Maxence
02:04
created
lib/Service/ExternalFilesService.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -231,7 +231,7 @@
 block discarded – undo
231 231
 
232 232
 
233 233
 	/**
234
-	 * @param $userId
234
+	 * @param string $userId
235 235
 	 *
236 236
 	 * @return MountPoint[]
237 237
 	 */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -244,7 +244,7 @@
 block discarded – undo
244 244
 		foreach ($mounts as $path => $mount) {
245 245
 			$mountPoint = new MountPoint();
246 246
 			$mountPoint->setId($mount['id'])
247
-						  ->setPath('/' . $userId . '/files/' . $path)
247
+						  ->setPath('/'.$userId.'/files/'.$path)
248 248
 						  ->setGroups($mount['applicable']['groups'])
249 249
 						  ->setUsers($mount['applicable']['users'])
250 250
 						  ->setGlobal((!$mount['personal']));
Please login to merge, or discard this patch.
lib/Service/GroupFoldersService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 	private function getMountPoint(Node $file) {
194 194
 
195 195
 		foreach ($this->groupFolders as $mount) {
196
-			echo '######    ' . $file->getPath() . '  ' . $mount->getPath() . "\n";
196
+			echo '######    '.$file->getPath().'  '.$mount->getPath()."\n";
197 197
 			if (strpos($file->getPath(), $mount->getPath()) === 0) {
198 198
 				return $mount;
199 199
 			}
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
 		foreach ($mounts as $path => $mount) {
217 217
 			$mountPoint = new MountPoint();
218 218
 			$mountPoint->setId($mount['id'])
219
-					   ->setPath('/' . $userId . '/files/' . $mount['mount_point'])
219
+					   ->setPath('/'.$userId.'/files/'.$mount['mount_point'])
220 220
 					   ->setGroups(array_keys($mount['applicable']['groups']));
221 221
 			$mountPoints[] = $mountPoint;
222 222
 		}
Please login to merge, or discard this patch.