@@ -148,7 +148,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | |