Completed
Pull Request — master (#472)
by
unknown
13:47
created
src/Offer/Events/AbstractLabelEvent.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     public function serialize(): array
27 27
     {
28 28
         return parent::serialize() + array(
29
-            'label' => (string) $this->label,
29
+            'label' => (string)$this->label,
30 30
             'visibility' => $this->label->isVisible(),
31 31
         );
32 32
     }
Please login to merge, or discard this patch.
src/Media/Properties/MIMEType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,11 +22,11 @@
 block discarded – undo
22 22
         }
23 23
 
24 24
         if (!array_key_exists($subtypeString, self::$supportedSubtypes)) {
25
-            throw new UnsupportedMIMETypeException('MIME type "' . $subtypeString . '" is not supported!');
25
+            throw new UnsupportedMIMETypeException('MIME type "'.$subtypeString.'" is not supported!');
26 26
         }
27 27
 
28 28
         $type = self::$supportedSubtypes[$subtypeString];
29 29
 
30
-        return new self($type . '/' . $subtypeString);
30
+        return new self($type.'/'.$subtypeString);
31 31
     }
32 32
 }
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
@@ -103,12 +103,12 @@
 block discarded – undo
103 103
     public function serialize(): array
104 104
     {
105 105
         return [
106
-            'media_object_id' => (string) $this->getMediaObjectId(),
107
-            'mime_type' => (string) $this->getMimeType(),
108
-            'description' => (string) $this->getDescription(),
109
-            'copyright_holder' => (string) $this->getCopyrightHolder(),
110
-            'source_location' => (string) $this->getSourceLocation(),
111
-            'language' => (string) $this->getLanguage(),
106
+            'media_object_id' => (string)$this->getMediaObjectId(),
107
+            'mime_type' => (string)$this->getMimeType(),
108
+            'description' => (string)$this->getDescription(),
109
+            'copyright_holder' => (string)$this->getCopyrightHolder(),
110
+            'source_location' => (string)$this->getSourceLocation(),
111
+            'language' => (string)$this->getLanguage(),
112 112
         ];
113 113
     }
114 114
 }
Please login to merge, or discard this patch.