@@ -194,7 +194,7 @@ |
||
194 | 194 | throw new OCSException('works only from local instance', 404); |
195 | 195 | } |
196 | 196 | |
197 | - $userId = $currentUser->getUserId() . '/' . $userId; |
|
197 | + $userId = $currentUser->getUserId().'/'.$userId; |
|
198 | 198 | } |
199 | 199 | |
200 | 200 | $federatedUser = $this->federatedUserService->generateFederatedUser($userId, $type); |
@@ -648,9 +648,9 @@ discard block |
||
648 | 648 | |
649 | 649 | $display = $circle->getDisplayName(); |
650 | 650 | if ($circle->getSource() === Member::TYPE_CIRCLE) { |
651 | - $display .= ' (Circle owned by ' . $circle->getOwner()->getDisplayName() . ')'; |
|
651 | + $display .= ' (Circle owned by '.$circle->getOwner()->getDisplayName().')'; |
|
652 | 652 | } else { |
653 | - $display .= ' (' . Circle::$DEF_SOURCE[$circle->getSource()] . ')'; |
|
653 | + $display .= ' ('.Circle::$DEF_SOURCE[$circle->getSource()].')'; |
|
654 | 654 | } |
655 | 655 | |
656 | 656 | $share->setSharedWithDisplayName($display); |
@@ -740,20 +740,20 @@ discard block |
||
740 | 740 | */ |
741 | 741 | public function importFromDatabase(array $data, string $prefix = ''): INC22QueryRow { |
742 | 742 | $shareTime = new DateTime(); |
743 | - $shareTime->setTimestamp($this->getInt($prefix . 'stime', $data)); |
|
744 | - |
|
745 | - $this->setId($this->get($prefix . 'id', $data)) |
|
746 | - ->setShareType($this->getInt($prefix . 'share_type', $data)) |
|
747 | - ->setPermissions($this->getInt($prefix . 'permissions', $data)) |
|
748 | - ->setItemType($this->get($prefix . 'item_type', $data)) |
|
749 | - ->setItemSource($this->getInt($prefix . 'item_source', $data)) |
|
750 | - ->setItemTarget($this->get($prefix . 'item_target', $data)) |
|
751 | - ->setFileSource($this->getInt($prefix . 'file_source', $data)) |
|
752 | - ->setFileTarget($this->get($prefix . 'file_target', $data)) |
|
753 | - ->setSharedWith($this->get($prefix . 'share_with', $data)) |
|
754 | - ->setSharedBy($this->get($prefix . 'uid_initiator', $data)) |
|
755 | - ->setShareOwner($this->get($prefix . 'uid_owner', $data)) |
|
756 | - ->setToken($this->get($prefix . 'token', $data)) |
|
743 | + $shareTime->setTimestamp($this->getInt($prefix.'stime', $data)); |
|
744 | + |
|
745 | + $this->setId($this->get($prefix.'id', $data)) |
|
746 | + ->setShareType($this->getInt($prefix.'share_type', $data)) |
|
747 | + ->setPermissions($this->getInt($prefix.'permissions', $data)) |
|
748 | + ->setItemType($this->get($prefix.'item_type', $data)) |
|
749 | + ->setItemSource($this->getInt($prefix.'item_source', $data)) |
|
750 | + ->setItemTarget($this->get($prefix.'item_target', $data)) |
|
751 | + ->setFileSource($this->getInt($prefix.'file_source', $data)) |
|
752 | + ->setFileTarget($this->get($prefix.'file_target', $data)) |
|
753 | + ->setSharedWith($this->get($prefix.'share_with', $data)) |
|
754 | + ->setSharedBy($this->get($prefix.'uid_initiator', $data)) |
|
755 | + ->setShareOwner($this->get($prefix.'uid_owner', $data)) |
|
756 | + ->setToken($this->get($prefix.'token', $data)) |
|
757 | 757 | ->setShareTime($shareTime); |
758 | 758 | |
759 | 759 | // if (($password = $this->get('personal_password', $data, '')) !== '') { |
@@ -762,9 +762,9 @@ discard block |
||
762 | 762 | // $share->setPassword($this->get('password', $data, '')); |
763 | 763 | // } |
764 | 764 | |
765 | - $this->setChildId($this->getInt($prefix . 'child_id', $data)) |
|
766 | - ->setChildFileTarget($this->get($prefix . 'child_file_target', $data)) |
|
767 | - ->setChildPermissions($this->getInt($prefix . 'child_permissions', $data)) |
|
765 | + $this->setChildId($this->getInt($prefix.'child_id', $data)) |
|
766 | + ->setChildFileTarget($this->get($prefix.'child_file_target', $data)) |
|
767 | + ->setChildPermissions($this->getInt($prefix.'child_permissions', $data)) |
|
768 | 768 | ->setProviderId(ShareByCircleProvider::IDENTIFIER) |
769 | 769 | ->setStatus(Ishare::STATUS_ACCEPTED); |
770 | 770 |
@@ -254,13 +254,13 @@ |
||
254 | 254 | * @return INC22QueryRow |
255 | 255 | */ |
256 | 256 | public function importFromDatabase(array $data, string $prefix = ''): INC22QueryRow { |
257 | - $this->setShareId($this->getInt($prefix . 'share_id', $data)); |
|
258 | - $this->setCircleId($this->get($prefix . 'circle_id', $data)); |
|
259 | - $this->setSingleId($this->get($prefix . 'single_id', $data)); |
|
260 | - $this->setMemberId($this->get($prefix . 'member_id', $data)); |
|
261 | - $this->setToken($this->get($prefix . 'token', $data)); |
|
262 | - $this->setPassword($this->get($prefix . 'password', $data)); |
|
263 | - $this->setAccepted($this->getInt($prefix . 'accepted', $data, IShare::STATUS_PENDING)); |
|
257 | + $this->setShareId($this->getInt($prefix.'share_id', $data)); |
|
258 | + $this->setCircleId($this->get($prefix.'circle_id', $data)); |
|
259 | + $this->setSingleId($this->get($prefix.'single_id', $data)); |
|
260 | + $this->setMemberId($this->get($prefix.'member_id', $data)); |
|
261 | + $this->setToken($this->get($prefix.'token', $data)); |
|
262 | + $this->setPassword($this->get($prefix.'password', $data)); |
|
263 | + $this->setAccepted($this->getInt($prefix.'accepted', $data, IShare::STATUS_PENDING)); |
|
264 | 264 | |
265 | 265 | return $this; |
266 | 266 | } |
@@ -577,24 +577,24 @@ |
||
577 | 577 | switch ($type) { |
578 | 578 | case DeprecatedCircle::CIRCLES_PERSONAL: |
579 | 579 | return $urlGen->getAbsoluteURL( |
580 | - $urlGen->imagePath(Application::APP_ID, 'personal' . $ext) |
|
580 | + $urlGen->imagePath(Application::APP_ID, 'personal'.$ext) |
|
581 | 581 | ); |
582 | 582 | case DeprecatedCircle::CIRCLES_CLOSED: |
583 | 583 | return $urlGen->getAbsoluteURL( |
584 | - $urlGen->imagePath(Application::APP_ID, 'closed' . $ext) |
|
584 | + $urlGen->imagePath(Application::APP_ID, 'closed'.$ext) |
|
585 | 585 | ); |
586 | 586 | case DeprecatedCircle::CIRCLES_SECRET: |
587 | 587 | return $urlGen->getAbsoluteURL( |
588 | - $urlGen->imagePath(Application::APP_ID, 'secret' . $ext) |
|
588 | + $urlGen->imagePath(Application::APP_ID, 'secret'.$ext) |
|
589 | 589 | ); |
590 | 590 | case DeprecatedCircle::CIRCLES_PUBLIC: |
591 | 591 | return $urlGen->getAbsoluteURL( |
592 | - $urlGen->imagePath(Application::APP_ID, 'circles' . $ext) |
|
592 | + $urlGen->imagePath(Application::APP_ID, 'circles'.$ext) |
|
593 | 593 | ); |
594 | 594 | } |
595 | 595 | |
596 | 596 | return $urlGen->getAbsoluteURL( |
597 | - $urlGen->imagePath(Application::APP_ID, 'circles' . $ext) |
|
597 | + $urlGen->imagePath(Application::APP_ID, 'circles'.$ext) |
|
598 | 598 | ); |
599 | 599 | } |
600 | 600 |
@@ -5,5 +5,5 @@ |
||
5 | 5 | require_once __DIR__.'/../../../lib/base.php'; |
6 | 6 | require_once __DIR__.'/../vendor/autoload.php'; |
7 | 7 | |
8 | -\OC::$loader->addValidRoot(OC::$SERVERROOT . '/tests'); |
|
8 | +\OC::$loader->addValidRoot(OC::$SERVERROOT.'/tests'); |
|
9 | 9 | \OC_App::loadApp('circles'); |
@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | } catch (Exception $e) { |
328 | 328 | $this->assertSame( |
329 | 329 | true, false, |
330 | - 'should have returned a MemberIsNotModeratorException - ' . $e->getMessage() |
|
330 | + 'should have returned a MemberIsNotModeratorException - '.$e->getMessage() |
|
331 | 331 | ); |
332 | 332 | } |
333 | 333 | |
@@ -341,7 +341,7 @@ discard block |
||
341 | 341 | } catch (Exception $e) { |
342 | 342 | $this->assertSame( |
343 | 343 | true, false, |
344 | - 'should have returned a MemberIsNotModeratorException - ' . $e->getMessage() |
|
344 | + 'should have returned a MemberIsNotModeratorException - '.$e->getMessage() |
|
345 | 345 | ); |
346 | 346 | } |
347 | 347 | } |
@@ -173,19 +173,19 @@ discard block |
||
173 | 173 | |
174 | 174 | $webfinger = $this->getWebfinger($host, Application::APP_SUBJECT); |
175 | 175 | if ($this->input->getOption('all')) { |
176 | - $this->output->writeln('- Webfinger on <info>' . $host . '</info>'); |
|
176 | + $this->output->writeln('- Webfinger on <info>'.$host.'</info>'); |
|
177 | 177 | $this->output->writeln(json_encode($webfinger, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)); |
178 | 178 | $this->output->writeln(''); |
179 | 179 | } |
180 | 180 | |
181 | 181 | if ($this->input->getOption('all')) { |
182 | 182 | $circleLink = $this->extractLink(Application::APP_REL, $webfinger); |
183 | - $this->output->writeln('- Information about Circles app on <info>' . $host . '</info>'); |
|
183 | + $this->output->writeln('- Information about Circles app on <info>'.$host.'</info>'); |
|
184 | 184 | $this->output->writeln(json_encode($circleLink, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)); |
185 | 185 | $this->output->writeln(''); |
186 | 186 | } |
187 | 187 | |
188 | - $this->output->writeln('- Available services on <info>' . $host . '</info>'); |
|
188 | + $this->output->writeln('- Available services on <info>'.$host.'</info>'); |
|
189 | 189 | foreach ($webfinger->getLinks() as $link) { |
190 | 190 | $app = $link->getProperty('name'); |
191 | 191 | $ver = $link->getProperty('version'); |
@@ -193,14 +193,14 @@ discard block |
||
193 | 193 | $app .= ' '; |
194 | 194 | } |
195 | 195 | if ($ver !== '') { |
196 | - $ver = 'v' . $ver; |
|
196 | + $ver = 'v'.$ver; |
|
197 | 197 | } |
198 | 198 | |
199 | - $this->output->writeln(' * ' . $link->getRel() . ' ' . $app . $ver); |
|
199 | + $this->output->writeln(' * '.$link->getRel().' '.$app.$ver); |
|
200 | 200 | } |
201 | 201 | $this->output->writeln(''); |
202 | 202 | |
203 | - $this->output->writeln('- Resources related to Circles on <info>' . $host . '</info>'); |
|
203 | + $this->output->writeln('- Resources related to Circles on <info>'.$host.'</info>'); |
|
204 | 204 | $resource = $this->getResourceData($host, Application::APP_SUBJECT, Application::APP_REL); |
205 | 205 | $this->output->writeln(json_encode($resource, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES)); |
206 | 206 | $this->output->writeln(''); |
@@ -208,7 +208,7 @@ discard block |
||
208 | 208 | |
209 | 209 | $tempUid = $resource->g('uid'); |
210 | 210 | $this->output->writeln( |
211 | - '- Confirming UID=' . $tempUid . ' from parsed Signatory at <info>' . $host . '</info>' |
|
211 | + '- Confirming UID='.$tempUid.' from parsed Signatory at <info>'.$host.'</info>' |
|
212 | 212 | ); |
213 | 213 | |
214 | 214 | try { |
@@ -217,15 +217,15 @@ discard block |
||
217 | 217 | $this->output->writeln(' * No SignatureException: <info>Identity authed</info>'); |
218 | 218 | } catch (SignatureException $e) { |
219 | 219 | $this->output->writeln( |
220 | - '<error>' . $host . ' cannot auth its identity: ' . $e->getMessage() . '</error>' |
|
220 | + '<error>'.$host.' cannot auth its identity: '.$e->getMessage().'</error>' |
|
221 | 221 | ); |
222 | 222 | |
223 | 223 | return; |
224 | 224 | } |
225 | 225 | |
226 | - $this->output->writeln(' * Found <info>' . $remoteSignatory->getUid() . '</info>'); |
|
226 | + $this->output->writeln(' * Found <info>'.$remoteSignatory->getUid().'</info>'); |
|
227 | 227 | if ($remoteSignatory->getUid(true) !== $tempUid) { |
228 | - $this->output->writeln('<error>looks like ' . $host . ' is faking its identity'); |
|
228 | + $this->output->writeln('<error>looks like '.$host.' is faking its identity'); |
|
229 | 229 | |
230 | 230 | return; |
231 | 231 | } |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | $this->output->writeln(''); |
234 | 234 | |
235 | 235 | $testUrl = $resource->g('test'); |
236 | - $this->output->writeln('- Testing signed payload on <info>' . $testUrl . '</info>'); |
|
236 | + $this->output->writeln('- Testing signed payload on <info>'.$testUrl.'</info>'); |
|
237 | 237 | |
238 | 238 | try { |
239 | 239 | $localSignatory = $this->remoteStreamService->getAppSignatory(); |
@@ -255,18 +255,18 @@ discard block |
||
255 | 255 | $this->output->writeln(''); |
256 | 256 | |
257 | 257 | $this->output->writeln(' * Clear Signature: '); |
258 | - $this->output->writeln('<comment>' . $signedRequest->getClearSignature() . '</comment>'); |
|
258 | + $this->output->writeln('<comment>'.$signedRequest->getClearSignature().'</comment>'); |
|
259 | 259 | $this->output->writeln(''); |
260 | 260 | |
261 | 261 | $this->output->writeln(' * Signed Signature (base64 encoded): '); |
262 | 262 | $this->output->writeln( |
263 | - '<comment>' . base64_encode($signedRequest->getSignedSignature()) . '</comment>' |
|
263 | + '<comment>'.base64_encode($signedRequest->getSignedSignature()).'</comment>' |
|
264 | 264 | ); |
265 | 265 | $this->output->writeln(''); |
266 | 266 | |
267 | 267 | $result = $signedRequest->getOutgoingRequest()->getResult(); |
268 | 268 | $code = $result->getStatusCode(); |
269 | - $this->output->writeln(' * Result: ' . (($code === 200) ? '<info>' . $code . '</info>' : $code)); |
|
269 | + $this->output->writeln(' * Result: '.(($code === 200) ? '<info>'.$code.'</info>' : $code)); |
|
270 | 270 | $this->output->writeln( |
271 | 271 | json_encode(json_decode($result->getContent(), true), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) |
272 | 272 | ); |
@@ -288,7 +288,7 @@ discard block |
||
288 | 288 | $stored = new RemoteInstance(); |
289 | 289 | $this->remoteStreamService->confirmValidRemote($remoteSignatory, $stored); |
290 | 290 | $this->output->writeln( |
291 | - '<info>The remote instance ' . $host |
|
291 | + '<info>The remote instance '.$host |
|
292 | 292 | . ' is already known with this current identity</info>' |
293 | 293 | ); |
294 | 294 | |
@@ -298,7 +298,7 @@ discard block |
||
298 | 298 | |
299 | 299 | if ($remoteSignatory->getType() !== $stored->getType()) { |
300 | 300 | $this->output->writeln( |
301 | - '- updating type from ' . $stored->getType() . ' to ' |
|
301 | + '- updating type from '.$stored->getType().' to ' |
|
302 | 302 | . $remoteSignatory->getType() |
303 | 303 | ); |
304 | 304 | $this->remoteStreamService->update( |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | |
309 | 309 | if ($remoteSignatory->getInstance() !== $stored->getInstance()) { |
310 | 310 | $this->output->writeln( |
311 | - '- updating host from ' . $stored->getInstance() . ' to ' |
|
311 | + '- updating host from '.$stored->getInstance().' to ' |
|
312 | 312 | . $remoteSignatory->getInstance() |
313 | 313 | ); |
314 | 314 | $this->remoteStreamService->update( |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | } |
318 | 318 | if ($remoteSignatory->getId() !== $stored->getId()) { |
319 | 319 | $this->output->writeln( |
320 | - '- updating href/Id from ' . $stored->getId() . ' to ' |
|
320 | + '- updating href/Id from '.$stored->getId().' to ' |
|
321 | 321 | . $remoteSignatory->getId() |
322 | 322 | ); |
323 | 323 | $this->remoteStreamService->update($remoteSignatory, RemoteStreamService::UPDATE_HREF); |
@@ -341,10 +341,10 @@ discard block |
||
341 | 341 | $helper = $this->getHelper('question'); |
342 | 342 | |
343 | 343 | $this->output->writeln( |
344 | - 'The remote instance <info>' . $remoteSignatory->getInstance() . '</info> looks good.' |
|
344 | + 'The remote instance <info>'.$remoteSignatory->getInstance().'</info> looks good.' |
|
345 | 345 | ); |
346 | 346 | $question = new ConfirmationQuestion( |
347 | - 'Would you like to identify this remote instance as \'<comment>' . $remoteSignatory->getType() |
|
347 | + 'Would you like to identify this remote instance as \'<comment>'.$remoteSignatory->getType() |
|
348 | 348 | . '</comment>\' using interface \'<comment>' |
349 | 349 | . InterfaceService::$LIST_IFACE[$remoteSignatory->getInterface()] |
350 | 350 | . '</comment>\' ? (y/N) ', |
@@ -372,7 +372,7 @@ discard block |
||
372 | 372 | $helper = $this->getHelper('question'); |
373 | 373 | |
374 | 374 | $this->output->writeln( |
375 | - 'The remote instance <info>' . $remoteSignatory->getInstance() |
|
375 | + 'The remote instance <info>'.$remoteSignatory->getInstance() |
|
376 | 376 | . '</info> is known but <error>its identity has changed.</error>' |
377 | 377 | ); |
378 | 378 | $this->output->writeln( |
@@ -430,7 +430,7 @@ discard block |
||
430 | 430 | private function verifyGSInstances(): void { |
431 | 431 | $instances = $this->globalScaleService->getGlobalScaleInstances(); |
432 | 432 | $known = array_map( |
433 | - function (RemoteInstance $instance): string { |
|
433 | + function(RemoteInstance $instance): string { |
|
434 | 434 | return $instance->getInstance(); |
435 | 435 | }, $this->remoteRequest->getFromType(RemoteInstance::TYPE_GLOBALSCALE) |
436 | 436 | ); |
@@ -450,7 +450,7 @@ discard block |
||
450 | 450 | return; |
451 | 451 | } |
452 | 452 | |
453 | - $this->output->write('Adding <comment>' . $instance . '</comment>: '); |
|
453 | + $this->output->write('Adding <comment>'.$instance.'</comment>: '); |
|
454 | 454 | try { |
455 | 455 | $this->remoteStreamService->addRemoteInstance( |
456 | 456 | $instance, |
@@ -460,8 +460,8 @@ discard block |
||
460 | 460 | ); |
461 | 461 | $this->output->writeln('<info>ok</info>'); |
462 | 462 | } catch (Exception $e) { |
463 | - $msg = ($e->getMessage() === '') ? '' : ' (' . $e->getMessage() . ')'; |
|
464 | - $this->output->writeln('<error>' . get_class($e) . $msg . '</error>'); |
|
463 | + $msg = ($e->getMessage() === '') ? '' : ' ('.$e->getMessage().')'; |
|
464 | + $this->output->writeln('<error>'.get_class($e).$msg.'</error>'); |
|
465 | 465 | } |
466 | 466 | } |
467 | 467 | |
@@ -479,12 +479,12 @@ discard block |
||
479 | 479 | try { |
480 | 480 | $current = $this->remoteStreamService->retrieveRemoteInstance($instance->getInstance()); |
481 | 481 | if ($current->getUid(true) === $instance->getUid(true)) { |
482 | - $currentUid = '<info>' . $current->getUid(true) . '</info>'; |
|
482 | + $currentUid = '<info>'.$current->getUid(true).'</info>'; |
|
483 | 483 | } else { |
484 | - $currentUid = '<error>' . $current->getUid(true) . '</error>'; |
|
484 | + $currentUid = '<error>'.$current->getUid(true).'</error>'; |
|
485 | 485 | } |
486 | 486 | } catch (Exception $e) { |
487 | - $currentUid = '<error>' . $e->getMessage() . '</error>'; |
|
487 | + $currentUid = '<error>'.$e->getMessage().'</error>'; |
|
488 | 488 | } |
489 | 489 | |
490 | 490 | $table->appendRow( |
@@ -511,7 +511,7 @@ discard block |
||
511 | 511 | } |
512 | 512 | } |
513 | 513 | |
514 | - throw new Exception('Unknown type: ' . implode(', ', RemoteInstance::$LIST_TYPE)); |
|
514 | + throw new Exception('Unknown type: '.implode(', ', RemoteInstance::$LIST_TYPE)); |
|
515 | 515 | } |
516 | 516 | |
517 | 517 | /** |
@@ -524,6 +524,6 @@ discard block |
||
524 | 524 | } |
525 | 525 | } |
526 | 526 | |
527 | - throw new Exception('Unknown interface: ' . implode(', ', InterfaceService::$LIST_IFACE)); |
|
527 | + throw new Exception('Unknown interface: '.implode(', ', InterfaceService::$LIST_IFACE)); |
|
528 | 528 | } |
529 | 529 | } |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | } catch (FederatedItemException $e) { |
156 | 156 | if ($input->getOption('status-code')) { |
157 | 157 | throw new FederatedItemException( |
158 | - ' [' . get_class($e) . ', ' . $e->getStatus() . ']' . "\n" . $e->getMessage() |
|
158 | + ' ['.get_class($e).', '.$e->getStatus().']'."\n".$e->getMessage() |
|
159 | 159 | ); |
160 | 160 | } |
161 | 161 | |
@@ -189,8 +189,8 @@ discard block |
||
189 | 189 | $value = array_search(strtoupper($item), $valid); |
190 | 190 | if (!$value) { |
191 | 191 | throw new InvalidArgumentException( |
192 | - 'Invalid config \'' . $item . '\'. Available values: ' |
|
193 | - . implode(', ', array_values($valid)) . '. ' |
|
192 | + 'Invalid config \''.$item.'\'. Available values: ' |
|
193 | + . implode(', ', array_values($valid)).'. ' |
|
194 | 194 | . 'To disable a config, start the value with an underscore' |
195 | 195 | ); |
196 | 196 | } |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | |
220 | 220 | array_walk( |
221 | 221 | $listing, |
222 | - function (string &$v): void { |
|
222 | + function(string &$v): void { |
|
223 | 223 | [, $long] = explode('|', $v); |
224 | 224 | $v = strtoupper(str_replace(' ', '', $long)); |
225 | 225 | } |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | $recipient = $share->getInitiator(); |
220 | 220 | $sharedTo = $recipient->getDisplayName(); |
221 | 221 | if (!$this->configService->isLocalInstance($recipient->getInstance())) { |
222 | - $sharedTo .= '@' . $recipient->getInstance(); |
|
222 | + $sharedTo .= '@'.$recipient->getInstance(); |
|
223 | 223 | } |
224 | 224 | } |
225 | 225 | $circle = $share->getCircle(); |
@@ -229,15 +229,15 @@ discard block |
||
229 | 229 | $share->getShareOwner(), |
230 | 230 | $share->getFileTarget(), |
231 | 231 | $share->getSharedBy(), |
232 | - $circle->getDisplayName() . ' (' . $share->getSharedWith() |
|
233 | - . ', ' . Circle::$DEF_SOURCE[$circle->getSource()] . ')' |
|
232 | + $circle->getDisplayName().' ('.$share->getSharedWith() |
|
233 | + . ', '.Circle::$DEF_SOURCE[$circle->getSource()].')' |
|
234 | 234 | ]; |
235 | 235 | |
236 | 236 | if (!$filterRecipient) { |
237 | 237 | $row = array_merge( |
238 | 238 | $row, [ |
239 | - $sharedTo . ' (' . $recipient->getSingleId() . ', ' |
|
240 | - . Circle::$DEF_SOURCE[$recipient->getBasedOn()->getSource()] . ')', |
|
239 | + $sharedTo.' ('.$recipient->getSingleId().', ' |
|
240 | + . Circle::$DEF_SOURCE[$recipient->getBasedOn()->getSource()].')', |
|
241 | 241 | (($share->getChildId() > 0) ? $share->getChildFileTarget( |
242 | 242 | ) : $share->getFileTarget()), |
243 | 243 | ] |