@@ -161,7 +161,7 @@ discard block |
||
| 161 | 161 | if ($language->getCode() !== $this->mainLanguage->getCode()) { |
| 162 | 162 | $event = $this->createDescriptionTranslatedEvent($language, $description); |
| 163 | 163 | } else { |
| 164 | - $event = $this->createDescriptionUpdatedEvent((string) $description); |
|
| 164 | + $event = $this->createDescriptionUpdatedEvent((string)$description); |
|
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | $this->apply($event); |
@@ -449,7 +449,7 @@ discard block |
||
| 449 | 449 | if ($this->rejectedReason && $reason->sameValueAs($this->rejectedReason)) { |
| 450 | 450 | return true; // nothing left to do if the offer has already been rejected for the same reason |
| 451 | 451 | } else { |
| 452 | - throw new Exception('The offer has already been rejected for another reason: ' . $this->rejectedReason); |
|
| 452 | + throw new Exception('The offer has already been rejected for another reason: '.$this->rejectedReason); |
|
| 453 | 453 | } |
| 454 | 454 | } |
| 455 | 455 | |
@@ -593,7 +593,7 @@ discard block |
||
| 593 | 593 | $dutchImagesList = $imagesEvent->getImages()->toArray(); |
| 594 | 594 | $translatedImagesList = array_filter( |
| 595 | 595 | $this->images->toArray(), |
| 596 | - function (Image $image) { |
|
| 596 | + function(Image $image) { |
|
| 597 | 597 | return $image->getLanguage()->getCode() !== 'nl'; |
| 598 | 598 | } |
| 599 | 599 | ); |