@@ -19,7 +19,7 @@ |
||
| 19 | 19 | { |
| 20 | 20 | if (!is_string($itemId)) { |
| 21 | 21 | throw new \InvalidArgumentException( |
| 22 | - 'Expected itemId to be a string, received ' . gettype($itemId) |
|
| 22 | + 'Expected itemId to be a string, received '.gettype($itemId) |
|
| 23 | 23 | ); |
| 24 | 24 | } |
| 25 | 25 | |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | |
| 34 | 34 | if (!is_string($originalEventId)) { |
| 35 | 35 | throw new \InvalidArgumentException( |
| 36 | - 'Expected originalEventId to be a string, received ' . gettype($originalEventId) |
|
| 36 | + 'Expected originalEventId to be a string, received '.gettype($originalEventId) |
|
| 37 | 37 | ); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -271,7 +271,7 @@ |
||
| 271 | 271 | */ |
| 272 | 272 | public function applyAudienceUpdated(AudienceUpdated $audienceUpdated) |
| 273 | 273 | { |
| 274 | - $this->audience= $audienceUpdated->getAudience(); |
|
| 274 | + $this->audience = $audienceUpdated->getAudience(); |
|
| 275 | 275 | } |
| 276 | 276 | |
| 277 | 277 | /** |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | { |
| 112 | 112 | if (!is_string($originalEventId)) { |
| 113 | 113 | throw new \InvalidArgumentException( |
| 114 | - 'Expected originalEventId to be a string, received ' . gettype($originalEventId) |
|
| 114 | + 'Expected originalEventId to be a string, received '.gettype($originalEventId) |
|
| 115 | 115 | ); |
| 116 | 116 | } |
| 117 | 117 | |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | $this->writeRepository->load($originalEventId); |
| 120 | 120 | } catch (AggregateNotFoundException $exception) { |
| 121 | 121 | throw new \InvalidArgumentException( |
| 122 | - 'No original event found to copy with id ' . $originalEventId |
|
| 122 | + 'No original event found to copy with id '.$originalEventId |
|
| 123 | 123 | ); |
| 124 | 124 | } |
| 125 | 125 | |