@@ -459,10 +459,10 @@ discard block |
||
| 459 | 459 | public function getLocation() |
| 460 | 460 | { |
| 461 | 461 | if (null === $this->location) { |
| 462 | - $array=[]; |
|
| 463 | - if(null != $this->locations){ |
|
| 462 | + $array = []; |
|
| 463 | + if (null != $this->locations) { |
|
| 464 | 464 | foreach ($this->locations as $location) { /* @var \Core\Entity\LocationInterface $location */ |
| 465 | - $array[]=$location->getCity(); |
|
| 465 | + $array[] = $location->getCity(); |
|
| 466 | 466 | } |
| 467 | 467 | return implode(', ', $array); |
| 468 | 468 | } |
@@ -517,7 +517,7 @@ discard block |
||
| 517 | 517 | if ($removePermissions) { |
| 518 | 518 | $this->getPermissions()->revoke($this->user, Permissions::PERMISSION_ALL); |
| 519 | 519 | } |
| 520 | - $this->user=null; |
|
| 520 | + $this->user = null; |
|
| 521 | 521 | } |
| 522 | 522 | |
| 523 | 523 | return $this; |
@@ -767,7 +767,7 @@ discard block |
||
| 767 | 767 | $organization = $this->organization; |
| 768 | 768 | if (isset($organization) && isset($organization->image)) { |
| 769 | 769 | $organizationImage = $organization->image; |
| 770 | - return "/file/Organizations.OrganizationImage/" . $organizationImage->id; |
|
| 770 | + return "/file/Organizations.OrganizationImage/".$organizationImage->id; |
|
| 771 | 771 | } |
| 772 | 772 | return $this->logoRef; |
| 773 | 773 | } |