@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | $sameFacilities = array_uintersect( |
| 206 | 206 | $facilities1, |
| 207 | 207 | $facilities2, |
| 208 | - function (Facility $facility1, Facility $facility2) { |
|
| 208 | + function(Facility $facility1, Facility $facility2) { |
|
| 209 | 209 | return strcmp($facility1->getId(), $facility2->getId()); |
| 210 | 210 | } |
| 211 | 211 | ); |
@@ -275,7 +275,7 @@ discard block |
||
| 275 | 275 | if ($language->getCode() !== $this->mainLanguage->getCode()) { |
| 276 | 276 | $event = $this->createDescriptionTranslatedEvent($language, $description); |
| 277 | 277 | } else { |
| 278 | - $event = $this->createDescriptionUpdatedEvent((string) $description); |
|
| 278 | + $event = $this->createDescriptionUpdatedEvent((string)$description); |
|
| 279 | 279 | } |
| 280 | 280 | |
| 281 | 281 | $this->apply($event); |
@@ -643,7 +643,7 @@ discard block |
||
| 643 | 643 | if ($this->rejectedReason && $reason->sameValueAs($this->rejectedReason)) { |
| 644 | 644 | return true; // nothing left to do if the offer has already been rejected for the same reason |
| 645 | 645 | } else { |
| 646 | - throw new Exception('The offer has already been rejected for another reason: ' . $this->rejectedReason); |
|
| 646 | + throw new Exception('The offer has already been rejected for another reason: '.$this->rejectedReason); |
|
| 647 | 647 | } |
| 648 | 648 | } |
| 649 | 649 | |
@@ -800,7 +800,7 @@ discard block |
||
| 800 | 800 | $dutchImagesList = $imagesEvent->getImages()->toArray(); |
| 801 | 801 | $translatedImagesList = array_filter( |
| 802 | 802 | $this->images->toArray(), |
| 803 | - function (Image $image) { |
|
| 803 | + function(Image $image) { |
|
| 804 | 804 | return $image->getLanguage()->getCode() !== 'nl'; |
| 805 | 805 | } |
| 806 | 806 | ); |