@@ -433,7 +433,7 @@ |
||
| 433 | 433 | */ |
| 434 | 434 | private function getAffectedCircles(string $singleId): array { |
| 435 | 435 | $circleIds = array_map( |
| 436 | - function (SyncedShare $share): string { |
|
| 436 | + function(SyncedShare $share): string { |
|
| 437 | 437 | return $share->getCircleId(); |
| 438 | 438 | }, $this->syncedShareRequest->getshares($singleId) |
| 439 | 439 | ); |
@@ -240,16 +240,16 @@ |
||
| 240 | 240 | try { |
| 241 | 241 | $test = new ReflectionClass($class); |
| 242 | 242 | } catch (ReflectionException $e) { |
| 243 | - throw new InternalAsyncException('ReflectionException with ' . $class . ': ' . $e->getMessage()); |
|
| 243 | + throw new InternalAsyncException('ReflectionException with '.$class.': '.$e->getMessage()); |
|
| 244 | 244 | } |
| 245 | 245 | |
| 246 | 246 | if (!in_array(IInternalAsync::class, $test->getInterfaceNames())) { |
| 247 | - throw new InternalAsyncException($class . ' does not implements IInternalAsync'); |
|
| 247 | + throw new InternalAsyncException($class.' does not implements IInternalAsync'); |
|
| 248 | 248 | } |
| 249 | 249 | |
| 250 | 250 | $item = OC::$server->get($class); |
| 251 | 251 | if (!($item instanceof IInternalAsync)) { |
| 252 | - throw new InternalAsyncException($class . ' not an IInternalAsync'); |
|
| 252 | + throw new InternalAsyncException($class.' not an IInternalAsync'); |
|
| 253 | 253 | } |
| 254 | 254 | |
| 255 | 255 | return $item; |
@@ -202,13 +202,13 @@ |
||
| 202 | 202 | * @throws ShareTokenNotFoundException |
| 203 | 203 | */ |
| 204 | 204 | public function importFromDatabase(array $data, string $prefix = ''): IQueryRow { |
| 205 | - if ($this->get($prefix . 'token', $data) === '') { |
|
| 205 | + if ($this->get($prefix.'token', $data) === '') { |
|
| 206 | 206 | throw new ShareTokenNotFoundException(); |
| 207 | 207 | } |
| 208 | 208 | |
| 209 | - $this->setUpdateType($this->get($prefix . 'update_type', $data)); |
|
| 210 | - $this->setUpdateTypeId($this->get($prefix . 'update_type_id', $data)); |
|
| 211 | - $this->setTime($this->getInt($prefix . 'time', $data)); |
|
| 209 | + $this->setUpdateType($this->get($prefix.'update_type', $data)); |
|
| 210 | + $this->setUpdateTypeId($this->get($prefix.'update_type_id', $data)); |
|
| 211 | + $this->setTime($this->getInt($prefix.'time', $data)); |
|
| 212 | 212 | |
| 213 | 213 | return $this; |
| 214 | 214 | } |