Completed
Push — master ( b1b976...74804b )
by
unknown
19:46
created
apps/dav/lib/Connector/Sabre/SharesPlugin.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 			return $this->cachedShares[$sabreNode->getId()];
149 149
 		}
150 150
 
151
-		[$parentPath,] = \Sabre\Uri\split($sabreNode->getPath());
151
+		[$parentPath, ] = \Sabre\Uri\split($sabreNode->getPath());
152 152
 		if ($parentPath === '') {
153 153
 			$parentPath = '/';
154 154
 		}
@@ -205,17 +205,17 @@  discard block
 block discarded – undo
205 205
 			return;
206 206
 		}
207 207
 
208
-		$propFind->handle(self::SHARETYPES_PROPERTYNAME, function () use ($sabreNode): ShareTypeList {
208
+		$propFind->handle(self::SHARETYPES_PROPERTYNAME, function() use ($sabreNode): ShareTypeList {
209 209
 			$shares = $this->getShares($sabreNode);
210 210
 
211
-			$shareTypes = array_unique(array_map(function (IShare $share) {
211
+			$shareTypes = array_unique(array_map(function(IShare $share) {
212 212
 				return $share->getShareType();
213 213
 			}, $shares));
214 214
 
215 215
 			return new ShareTypeList($shareTypes);
216 216
 		});
217 217
 
218
-		$propFind->handle(self::SHAREES_PROPERTYNAME, function () use ($sabreNode): ShareeList {
218
+		$propFind->handle(self::SHAREES_PROPERTYNAME, function() use ($sabreNode): ShareeList {
219 219
 			$shares = $this->getShares($sabreNode);
220 220
 
221 221
 			return new ShareeList($shares);
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
 		try {
232 232
 			$targetNode = $this->tree->getNodeForPath($target);
233 233
 		} catch (NotFound) {
234
-			[$targetPath,] = \Sabre\Uri\split($target);
234
+			[$targetPath, ] = \Sabre\Uri\split($target);
235 235
 			$targetNode = $this->tree->getNodeForPath($targetPath);
236 236
 		}
237 237
 
Please login to merge, or discard this patch.