Completed
Pull Request — master (#465)
by Jonas
01:57
created
src/Media/Events/MediaObjectCreated.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,8 +124,8 @@
 block discarded – undo
124 124
             'mime_type' => $this->getMimeType()->toNative(),
125 125
             'description' => $this->getDescription()->toNative(),
126 126
             'copyright_holder' => $this->getCopyrightHolder()->toNative(),
127
-            'source_location' => (string) $this->getSourceLocation(),
128
-            'language' => (string) $this->getLanguage(),
127
+            'source_location' => (string)$this->getSourceLocation(),
128
+            'language' => (string)$this->getLanguage(),
129 129
         );
130 130
     }
131 131
 
Please login to merge, or discard this patch.
src/Media/Image.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -127,12 +127,12 @@
 block discarded – undo
127 127
     public function serialize()
128 128
     {
129 129
         return [
130
-            'media_object_id' => (string) $this->getMediaObjectId(),
131
-            'mime_type' => (string) $this->getMimeType(),
132
-            'description' => (string) $this->getDescription(),
133
-            'copyright_holder' => (string) $this->getCopyrightHolder(),
134
-            'source_location' => (string) $this->getSourceLocation(),
135
-            'language' => (string) $this->getLanguage(),
130
+            'media_object_id' => (string)$this->getMediaObjectId(),
131
+            'mime_type' => (string)$this->getMimeType(),
132
+            'description' => (string)$this->getDescription(),
133
+            'copyright_holder' => (string)$this->getCopyrightHolder(),
134
+            'source_location' => (string)$this->getSourceLocation(),
135
+            'language' => (string)$this->getLanguage(),
136 136
         ];
137 137
     }
138 138
 }
Please login to merge, or discard this patch.
src/Organizer/Events/WebsiteUpdated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     public function serialize()
39 39
     {
40 40
         return parent::serialize() + [
41
-                'website' => (string) $this->getWebsite(),
41
+                'website' => (string)$this->getWebsite(),
42 42
             ];
43 43
     }
44 44
 
Please login to merge, or discard this patch.
src/Offer/Events/AbstractTitleUpdated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     public function serialize()
37 37
     {
38 38
         return parent::serialize() + array(
39
-            'title' => (string) $this->title,
39
+            'title' => (string)$this->title,
40 40
         );
41 41
     }
42 42
 
Please login to merge, or discard this patch.
src/CommandHandling/UnauthorizableCommandException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
      */
23 23
     public function __construct(StringLiteral $userId, $command)
24 24
     {
25
-        parent::__construct('User with id: ' . $userId->toNative() .
26
-            ' failed to execute command: ' . get_class($command) .
25
+        parent::__construct('User with id: '.$userId->toNative().
26
+            ' failed to execute command: '.get_class($command).
27 27
             ' because it is not authorizable.');
28 28
 
29 29
         $this->userId = $userId;
Please login to merge, or discard this patch.
src/Media/Commands/UploadImage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
      */
118 118
     public function getItemId()
119 119
     {
120
-        return (string) $this->getFileId();
120
+        return (string)$this->getFileId();
121 121
     }
122 122
 
123 123
     /**
Please login to merge, or discard this patch.
src/Address/LocalityAddressFormatter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,8 +9,8 @@
 block discarded – undo
9 9
      */
10 10
     public function format(Address $address)
11 11
     {
12
-        return $address->getPostalCode() . ' ' .
13
-            $address->getLocality() . ', ' .
12
+        return $address->getPostalCode().' '.
13
+            $address->getLocality().', '.
14 14
             $address->getCountry()->getCode();
15 15
     }
16 16
 }
Please login to merge, or discard this patch.
src/Place/Events/PlaceCreated.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
         }
155 155
         return parent::serialize() + array(
156 156
             'main_language' => $this->mainLanguage->getCode(),
157
-            'title' => (string) $this->getTitle(),
157
+            'title' => (string)$this->getTitle(),
158 158
             'event_type' => $this->getEventType()->serialize(),
159 159
             'theme' => $theme,
160 160
             'address' => $this->getAddress()->serialize(),
Please login to merge, or discard this patch.
src/Organizer/Events/OrganizerCreatedWithUniqueWebsite.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,8 @@
 block discarded – undo
73 73
     {
74 74
         return parent::serialize() + array(
75 75
             'main_language' => $this->getMainLanguage()->getCode(),
76
-            'website' => (string) $this->getWebsite(),
77
-            'title' => (string) $this->getTitle(),
76
+            'website' => (string)$this->getWebsite(),
77
+            'title' => (string)$this->getTitle(),
78 78
         );
79 79
     }
80 80
 
Please login to merge, or discard this patch.