@@ -218,10 +218,10 @@ discard block |
||
| 218 | 218 | { |
| 219 | 219 | switch ($name) { |
| 220 | 220 | case Property::IMAGE_HEIGHT: |
| 221 | - $element->height = (int) $value; |
|
| 221 | + $element->height = (int)$value; |
|
| 222 | 222 | break; |
| 223 | 223 | case Property::IMAGE_WIDTH: |
| 224 | - $element->width = (int) $value; |
|
| 224 | + $element->width = (int)$value; |
|
| 225 | 225 | break; |
| 226 | 226 | case Property::IMAGE_TYPE: |
| 227 | 227 | $element->type = $value; |
@@ -239,10 +239,10 @@ discard block |
||
| 239 | 239 | { |
| 240 | 240 | switch ($name) { |
| 241 | 241 | case Property::VIDEO_HEIGHT: |
| 242 | - $element->height = (int) $value; |
|
| 242 | + $element->height = (int)$value; |
|
| 243 | 243 | break; |
| 244 | 244 | case Property::VIDEO_WIDTH: |
| 245 | - $element->width = (int) $value; |
|
| 245 | + $element->width = (int)$value; |
|
| 246 | 246 | break; |
| 247 | 247 | case Property::VIDEO_TYPE: |
| 248 | 248 | $element->type = $value; |
@@ -323,7 +323,7 @@ discard block |
||
| 323 | 323 | } |
| 324 | 324 | |
| 325 | 325 | if (null !== $this->richAttachment) { |
| 326 | - $properties[] = new Property(Property::RICH_ATTACHMENT, (int) $this->richAttachment); |
|
| 326 | + $properties[] = new Property(Property::RICH_ATTACHMENT, (int)$this->richAttachment); |
|
| 327 | 327 | } |
| 328 | 328 | |
| 329 | 329 | foreach ($this->seeAlso as $seeAlso) { |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | } elseif (false === $property->value) { |
| 56 | 56 | $value = '0'; |
| 57 | 57 | } else { |
| 58 | - $value = (string) $property->value; |
|
| 58 | + $value = (string)$property->value; |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | $html .= \sprintf($format, $property->key, htmlspecialchars($value)); |