@@ -333,7 +333,7 @@ discard block |
||
333 | 333 | { |
334 | 334 | return $this->getExtraCollection() |
335 | 335 | ->map( |
336 | - function (ArticleExtraFieldInterface $field) { |
|
336 | + function(ArticleExtraFieldInterface $field) { |
|
337 | 337 | return $field->toApiFormat(); |
338 | 338 | } |
339 | 339 | )->toArray(); |
@@ -536,8 +536,8 @@ discard block |
||
536 | 536 | if (is_array($value)) { |
537 | 537 | $this->addEmbedExtra(ArticleExtraEmbedField::newFromValue($key, $value)); |
538 | 538 | } else { |
539 | - if(is_int($value)) { |
|
540 | - $value = (string)$value; |
|
539 | + if (is_int($value)) { |
|
540 | + $value = (string) $value; |
|
541 | 541 | } |
542 | 542 | $this->addTextExtra(ArticleExtraTextField::newFromValue($key, $value)); |
543 | 543 | } |