Completed
Pull Request — master (#264)
by Kristof
04:49
created
src/Offer/Commands/AbstractCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Event/Events/EventCopied.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Event/Event.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -271,7 +271,7 @@
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Event/DefaultEventEditingService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.