| @@ -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 | } | 
| @@ -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 | ); | 
| @@ -116,9 +116,9 @@ | ||
| 116 | 116 |      { | 
| 117 | 117 | $serialized = array_filter( | 
| 118 | 118 | [ | 
| 119 | - 'phone' => $this->phone, | |
| 120 | - 'email' => $this->email, | |
| 121 | - 'url' => $this->url, | |
| 119 | + 'phone' => $this->phone, | |
| 120 | + 'email' => $this->email, | |
| 121 | + 'url' => $this->url, | |
| 122 | 122 | ] | 
| 123 | 123 | ); | 
| 124 | 124 | |
| @@ -38,6 +38,13 @@ | ||
| 38 | 38 | */ | 
| 39 | 39 | protected $availabilityEnds; | 
| 40 | 40 | |
| 41 | + /** | |
| 42 | + * @param MultilingualString $urlLabel | |
| 43 | + * @param string $phone | |
| 44 | + * @param string $email | |
| 45 | + * @param DateTimeImmutable $availabilityStarts | |
| 46 | + * @param DateTimeImmutable $availabilityEnds | |
| 47 | + */ | |
| 41 | 48 | public function __construct( | 
| 42 | 49 | ?string $url = null, | 
| 43 | 50 | ?MultilingualString $urlLabel = null, | 
| @@ -153,7 +153,7 @@ discard block | ||
| 153 | 153 | } | 
| 154 | 154 | |
| 155 | 155 | /** | 
| 156 | - * @return mixed | |
| 156 | + * @return Table | |
| 157 | 157 | */ | 
| 158 | 158 | public function configureTable() | 
| 159 | 159 |      { | 
| @@ -181,7 +181,7 @@ discard block | ||
| 181 | 181 | } | 
| 182 | 182 | |
| 183 | 183 | /** | 
| 184 | - * @return \Doctrine\DBAL\Driver\Statement|null | |
| 184 | + * @return \Doctrine\DBAL\Statement|null | |
| 185 | 185 | */ | 
| 186 | 186 | private function prepareLoadStatement() | 
| 187 | 187 |      { | 
| @@ -50,9 +50,9 @@ | ||
| 50 | 50 | public function serialize(): array | 
| 51 | 51 |      { | 
| 52 | 52 | return [ | 
| 53 | - 'phone' => $this->phones, | |
| 54 | - 'email' => $this->emails, | |
| 55 | - 'url' => $this->urls, | |
| 53 | + 'phone' => $this->phones, | |
| 54 | + 'email' => $this->emails, | |
| 55 | + 'url' => $this->urls, | |
| 56 | 56 | ]; | 
| 57 | 57 | } | 
| 58 | 58 | |
| @@ -24,7 +24,7 @@ | ||
| 24 | 24 | public function serialize(): array | 
| 25 | 25 |      { | 
| 26 | 26 | return [ | 
| 27 | - 'organizer_id' => $this->organizerId, | |
| 27 | + 'organizer_id' => $this->organizerId, | |
| 28 | 28 | ]; | 
| 29 | 29 | } | 
| 30 | 30 | } | 
| @@ -65,10 +65,10 @@ | ||
| 65 | 65 | public function serialize(): array | 
| 66 | 66 |      { | 
| 67 | 67 | return [ | 
| 68 | - 'streetAddress' => $this->streetAddress->toNative(), | |
| 69 | - 'postalCode' => $this->postalCode->toNative(), | |
| 70 | - 'addressLocality' => $this->locality->toNative(), | |
| 71 | - 'addressCountry' => $this->countryCode, | |
| 68 | + 'streetAddress' => $this->streetAddress->toNative(), | |
| 69 | + 'postalCode' => $this->postalCode->toNative(), | |
| 70 | + 'addressLocality' => $this->locality->toNative(), | |
| 71 | + 'addressCountry' => $this->countryCode, | |
| 72 | 72 | ]; | 
| 73 | 73 | } | 
| 74 | 74 | |
| @@ -56,9 +56,9 @@ | ||
| 56 | 56 | public function serialize(): array | 
| 57 | 57 |      { | 
| 58 | 58 | return [ | 
| 59 | - 'id' => $this->id, | |
| 60 | - 'label' => $this->label, | |
| 61 | - 'domain' => $this->domain, | |
| 59 | + 'id' => $this->id, | |
| 60 | + 'label' => $this->label, | |
| 61 | + 'domain' => $this->domain, | |
| 62 | 62 | ]; | 
| 63 | 63 | } | 
| 64 | 64 | |