@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | * @param ReferencedDataStore|null $store |
169 | 169 | */ |
170 | 170 | public function asyncInternal(string $internalAsync, ?ReferencedDataStore $store = null): void { |
171 | - \OC::$server->getLogger()->log(3, '###ASYNCED### ' . json_encode($this->isAsynced())); |
|
171 | + \OC::$server->getLogger()->log(3, '###ASYNCED### '.json_encode($this->isAsynced())); |
|
172 | 172 | |
173 | 173 | if (is_null($store)) { |
174 | 174 | $store = new ReferencedDataStore(); |
@@ -236,16 +236,16 @@ discard block |
||
236 | 236 | try { |
237 | 237 | $test = new ReflectionClass($class); |
238 | 238 | } catch (ReflectionException $e) { |
239 | - throw new InternalAsyncException('ReflectionException with ' . $class . ': ' . $e->getMessage()); |
|
239 | + throw new InternalAsyncException('ReflectionException with '.$class.': '.$e->getMessage()); |
|
240 | 240 | } |
241 | 241 | |
242 | 242 | if (!in_array(IInternalAsync::class, $test->getInterfaceNames())) { |
243 | - throw new InternalAsyncException($class . ' does not implements IInternalAsync'); |
|
243 | + throw new InternalAsyncException($class.' does not implements IInternalAsync'); |
|
244 | 244 | } |
245 | 245 | |
246 | 246 | $item = OC::$server->get($class); |
247 | 247 | if (!($item instanceof IInternalAsync)) { |
248 | - throw new InternalAsyncException($class . ' not an IInternalAsync'); |
|
248 | + throw new InternalAsyncException($class.' not an IInternalAsync'); |
|
249 | 249 | } |
250 | 250 | |
251 | 251 | return $item; |
@@ -201,14 +201,14 @@ |
||
201 | 201 | * @throws ShareTokenNotFoundException |
202 | 202 | */ |
203 | 203 | public function importFromDatabase(array $data, string $prefix = ''): IQueryRow { |
204 | - if ($this->get($prefix . 'token', $data) === '') { |
|
204 | + if ($this->get($prefix.'token', $data) === '') { |
|
205 | 205 | throw new ShareTokenNotFoundException(); |
206 | 206 | } |
207 | 207 | |
208 | 208 | // $this->setSingleId($this->get($prefix . 'single_id', $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)); |
|
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 | } |
@@ -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 | ); |