@@ -70,9 +70,9 @@ |
||
| 70 | 70 | public function serialize() |
| 71 | 71 | { |
| 72 | 72 | return [ |
| 73 | - 'id' => $this->id, |
|
| 74 | - 'label' => $this->label, |
|
| 75 | - 'domain' => $this->domain, |
|
| 73 | + 'id' => $this->id, |
|
| 74 | + 'label' => $this->label, |
|
| 75 | + 'domain' => $this->domain, |
|
| 76 | 76 | ]; |
| 77 | 77 | } |
| 78 | 78 | |
@@ -88,11 +88,11 @@ |
||
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | return parent::serialize() + array( |
| 91 | - 'title' => (string) $this->getTitle(), |
|
| 92 | - 'addresses' => $addresses, |
|
| 93 | - 'phones' => $this->getPhones(), |
|
| 94 | - 'emails' => $this->getEmails(), |
|
| 95 | - 'urls' => $this->getUrls(), |
|
| 91 | + 'title' => (string) $this->getTitle(), |
|
| 92 | + 'addresses' => $addresses, |
|
| 93 | + 'phones' => $this->getPhones(), |
|
| 94 | + 'emails' => $this->getEmails(), |
|
| 95 | + 'urls' => $this->getUrls(), |
|
| 96 | 96 | ); |
| 97 | 97 | } |
| 98 | 98 | |
@@ -13,11 +13,11 @@ |
||
| 13 | 13 | interface SluggerInterface |
| 14 | 14 | { |
| 15 | 15 | /** |
| 16 | - * Returns the slug for a given string |
|
| 17 | - * |
|
| 18 | - * @param string $string |
|
| 19 | - * |
|
| 20 | - * @return string |
|
| 21 | - **/ |
|
| 16 | + * Returns the slug for a given string |
|
| 17 | + * |
|
| 18 | + * @param string $string |
|
| 19 | + * |
|
| 20 | + * @return string |
|
| 21 | + **/ |
|
| 22 | 22 | public function slug($string); |
| 23 | 23 | } |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | 50 | * @param array $data |
| 51 | - * @return mixed The object instance |
|
| 51 | + * @return AbstractImageEvent The object instance |
|
| 52 | 52 | */ |
| 53 | 53 | public static function deserialize(array $data) |
| 54 | 54 | { |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | } |
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | - * @return mixed The object instance |
|
| 41 | + * @return AbstractContactPointUpdated The object instance |
|
| 42 | 42 | */ |
| 43 | 43 | public static function deserialize(array $data) |
| 44 | 44 | { |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * @param array $data |
| 48 | - * @return mixed The object instance |
|
| 48 | + * @return AbstractLabelEvent The object instance |
|
| 49 | 49 | */ |
| 50 | 50 | public static function deserialize(array $data) |
| 51 | 51 | { |
@@ -81,10 +81,10 @@ |
||
| 81 | 81 | public function serialize() |
| 82 | 82 | { |
| 83 | 83 | return [ |
| 84 | - 'streetAddress' => $this->streetAddress->toNative(), |
|
| 85 | - 'postalCode' => $this->postalCode->toNative(), |
|
| 86 | - 'addressLocality' => $this->locality->toNative(), |
|
| 87 | - 'addressCountry' => $this->countryCode, |
|
| 84 | + 'streetAddress' => $this->streetAddress->toNative(), |
|
| 85 | + 'postalCode' => $this->postalCode->toNative(), |
|
| 86 | + 'addressLocality' => $this->locality->toNative(), |
|
| 87 | + 'addressCountry' => $this->countryCode, |
|
| 88 | 88 | ]; |
| 89 | 89 | } |
| 90 | 90 | |
@@ -67,9 +67,9 @@ |
||
| 67 | 67 | public function serialize() |
| 68 | 68 | { |
| 69 | 69 | return [ |
| 70 | - 'phone' => $this->phones, |
|
| 71 | - 'email' => $this->emails, |
|
| 72 | - 'url' => $this->urls, |
|
| 70 | + 'phone' => $this->phones, |
|
| 71 | + 'email' => $this->emails, |
|
| 72 | + 'url' => $this->urls, |
|
| 73 | 73 | ]; |
| 74 | 74 | } |
| 75 | 75 | |
@@ -62,7 +62,7 @@ |
||
| 62 | 62 | return array_reduce( |
| 63 | 63 | $data, |
| 64 | 64 | function (DayOfWeekCollection $collection, $dayOfWeek) { |
| 65 | - return $collection->addDayOfWeek(DayOfWeek::fromNative($dayOfWeek)); |
|
| 65 | + return $collection->addDayOfWeek(DayOfWeek::fromNative($dayOfWeek)); |
|
| 66 | 66 | }, |
| 67 | 67 | new DayOfWeekCollection() |
| 68 | 68 | ); |