@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | * @return mixed |
| 49 | 49 | */ |
| 50 | 50 | static function xmlDeserialize(Reader $reader) { |
| 51 | - $elems = (array)$reader->parseInnerTree([ |
|
| 51 | + $elems = (array) $reader->parseInnerTree([ |
|
| 52 | 52 | '{DAV:}prop' => KeyValue::class, |
| 53 | 53 | '{http://owncloud.org/ns}filter-rules' => Base::class, |
| 54 | 54 | '{http://owncloud.org/ns}search' => KeyValue::class, |
@@ -91,10 +91,10 @@ discard block |
||
| 91 | 91 | $newProps['search']['pattern'] = $value['{http://owncloud.org/ns}pattern']; |
| 92 | 92 | } |
| 93 | 93 | if (isset($value['{http://owncloud.org/ns}limit'])) { |
| 94 | - $newProps['search']['limit'] = (int)$value['{http://owncloud.org/ns}limit']; |
|
| 94 | + $newProps['search']['limit'] = (int) $value['{http://owncloud.org/ns}limit']; |
|
| 95 | 95 | } |
| 96 | 96 | if (isset($value['{http://owncloud.org/ns}offset'])) { |
| 97 | - $newProps['search']['offset'] = (int)$value['{http://owncloud.org/ns}offset']; |
|
| 97 | + $newProps['search']['offset'] = (int) $value['{http://owncloud.org/ns}offset']; |
|
| 98 | 98 | } |
| 99 | 99 | break; |
| 100 | 100 | } |
@@ -246,7 +246,7 @@ discard block |
||
| 246 | 246 | if (empty($filesUri)) { |
| 247 | 247 | return ''; |
| 248 | 248 | } |
| 249 | - return '/' . $filesUri; |
|
| 249 | + return '/'.$filesUri; |
|
| 250 | 250 | } |
| 251 | 251 | |
| 252 | 252 | /** |
@@ -296,7 +296,7 @@ discard block |
||
| 296 | 296 | } |
| 297 | 297 | |
| 298 | 298 | if (!empty($unknownTagIds)) { |
| 299 | - throw new TagNotFoundException('Tag with ids ' . implode(', ', $unknownTagIds) . ' not found'); |
|
| 299 | + throw new TagNotFoundException('Tag with ids '.implode(', ', $unknownTagIds).' not found'); |
|
| 300 | 300 | } |
| 301 | 301 | } |
| 302 | 302 | |
@@ -336,7 +336,7 @@ discard block |
||
| 336 | 336 | public function prepareResponses($filesUri, $requestedProps, $nodes) { |
| 337 | 337 | $results = []; |
| 338 | 338 | foreach ($nodes as $node) { |
| 339 | - $propFind = new PropFind($filesUri . $node->getPath(), $requestedProps); |
|
| 339 | + $propFind = new PropFind($filesUri.$node->getPath(), $requestedProps); |
|
| 340 | 340 | |
| 341 | 341 | $this->server->getPropertiesByNode($propFind, $node); |
| 342 | 342 | // copied from Sabre Server's getPropertiesForPath |