Completed
Push — develop ( 00a2d8...ecce3e )
by Mathias
07:35
created
module/Jobs/src/Jobs/Entity/Job.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -513,10 +513,10 @@  discard block
 block discarded – undo
513 513
     public function getLocation()
514 514
     {
515 515
         if (null === $this->location) {
516
-            $array=[];
517
-            if(null != $this->locations){
516
+            $array = [];
517
+            if (null != $this->locations) {
518 518
                 foreach ($this->locations as $location) { /* @var \Core\Entity\LocationInterface $location */
519
-                    $array[]=(string) $location;
519
+                    $array[] = (string) $location;
520 520
                 }
521 521
                 return implode(', ', $array);
522 522
             }
@@ -571,7 +571,7 @@  discard block
 block discarded – undo
571 571
             if ($removePermissions) {
572 572
                 $this->getPermissions()->revoke($this->user, Permissions::PERMISSION_ALL);
573 573
             }
574
-            $this->user=null;
574
+            $this->user = null;
575 575
         }
576 576
 
577 577
         return $this;
@@ -579,8 +579,8 @@  discard block
 block discarded – undo
579 579
 
580 580
     public function unsetOrganization($removePermissions = true)
581 581
     {
582
-        if($this->organization && $removePermissions){
583
-            $this->getPermissions()->revoke($this->organization,Permissions::PERMISSION_ALL);
582
+        if ($this->organization && $removePermissions) {
583
+            $this->getPermissions()->revoke($this->organization, Permissions::PERMISSION_ALL);
584 584
         }
585 585
 
586 586
         $this->organization = null;
@@ -832,7 +832,7 @@  discard block
 block discarded – undo
832 832
         $organization = $this->organization;
833 833
         if (is_object($organization) && $organization->getImage()) {
834 834
             $organizationImage = $organization->getImage();
835
-            return "/file/Organizations.OrganizationImage/" . $organizationImage->getId();
835
+            return "/file/Organizations.OrganizationImage/".$organizationImage->getId();
836 836
         }
837 837
         return $this->logoRef;
838 838
     }
Please login to merge, or discard this patch.