@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | } |
122 | 122 | |
123 | 123 | $attributes = compact('namespace'); |
124 | - $attributes = array_filter($attributes, function ($attribute) {return !is_null($attribute); }); |
|
124 | + $attributes = array_filter($attributes, function($attribute) {return !is_null($attribute); }); |
|
125 | 125 | |
126 | 126 | $id = $this->server->addGroup($name, $member, $attributes); |
127 | 127 | $result = $this->decorator->decorate($this->server->getGroupById($id)); |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | public function patch(string $id, ?string $name = null, ?array $member = null, ?string $namespace = null): Response |
136 | 136 | { |
137 | 137 | $attributes = compact('namespace', 'name', 'member'); |
138 | - $attributes = array_filter($attributes, function ($attribute) {return !is_null($attribute); }); |
|
138 | + $attributes = array_filter($attributes, function($attribute) {return !is_null($attribute); }); |
|
139 | 139 | |
140 | 140 | $group = $this->_getGroup($id, true); |
141 | 141 | $group->setAttributes($attributes); |
@@ -246,8 +246,8 @@ discard block |
||
246 | 246 | $share = $node->getFilesystem()->findRawNode($node->getReference()); |
247 | 247 | } catch (\Exception $e) { |
248 | 248 | $this->logger->error('could not find share node ['.$node->getReference().'] for reference ['.$node->getId().'], dead reference?', [ |
249 | - 'category' => get_class($this), |
|
250 | - 'exception' => $e, |
|
249 | + 'category' => get_class($this), |
|
250 | + 'exception' => $e, |
|
251 | 251 | ]); |
252 | 252 | |
253 | 253 | return self::PRIVILEGE_DENY; |
@@ -255,7 +255,7 @@ discard block |
||
255 | 255 | |
256 | 256 | if ($share['deleted'] instanceof UTCDateTime || true !== $share['shared']) { |
257 | 257 | $this->logger->error('share node ['.$share['_id'].'] has been deleted, dead reference?', [ |
258 | - 'category' => get_class($this), |
|
258 | + 'category' => get_class($this), |
|
259 | 259 | ]); |
260 | 260 | |
261 | 261 | return self::PRIVILEGE_DENY; |
@@ -362,6 +362,7 @@ discard block |
||
362 | 362 | |
363 | 363 | /** |
364 | 364 | * Find nodes with custom filters. |
365 | + * @param integer $offset |
|
365 | 366 | */ |
366 | 367 | public function findNodesByFilter(array $filter, ?int $offset = null, ?int $limit = null): Generator |
367 | 368 | { |
@@ -551,6 +552,8 @@ discard block |
||
551 | 552 | |
552 | 553 | /** |
553 | 554 | * Get custom filtered children. |
555 | + * @param integer $offset |
|
556 | + * @param integer $limit |
|
554 | 557 | */ |
555 | 558 | public function findNodesByFilterUser(int $deleted, array $filter, ?int $offset = null, ?int $limit = null): Generator |
556 | 559 | { |