@@ -33,8 +33,8 @@ |
||
| 33 | 33 | public function equals(Label $label) |
| 34 | 34 | { |
| 35 | 35 | return strcmp( |
| 36 | - mb_strtolower((string) $this, 'UTF-8'), |
|
| 37 | - mb_strtolower((string) $label, 'UTF-8') |
|
| 36 | + mb_strtolower((string)$this, 'UTF-8'), |
|
| 37 | + mb_strtolower((string)$label, 'UTF-8') |
|
| 38 | 38 | ) == 0; |
| 39 | 39 | } |
| 40 | 40 | } |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - */ |
|
| 3 | + * @file |
|
| 4 | + */ |
|
| 5 | 5 | |
| 6 | 6 | namespace CultuurNet\UDB3\Variations; |
| 7 | 7 | |
@@ -92,14 +92,14 @@ |
||
| 92 | 92 | public function serialize() |
| 93 | 93 | { |
| 94 | 94 | return [ |
| 95 | - 'cdbid' => $this->cdbid, |
|
| 96 | - 'name' => $this->name, |
|
| 97 | - 'address' => [ |
|
| 95 | + 'cdbid' => $this->cdbid, |
|
| 96 | + 'name' => $this->name, |
|
| 97 | + 'address' => [ |
|
| 98 | 98 | 'addressCountry' => $this->country, |
| 99 | 99 | 'addressLocality' => $this->locality, |
| 100 | 100 | 'postalCode' => $this->postalcode, |
| 101 | 101 | 'streetAddress' => $this->street, |
| 102 | - ] |
|
| 102 | + ] |
|
| 103 | 103 | ]; |
| 104 | 104 | } |
| 105 | 105 | |
@@ -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 | |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | return parent::serialize() + array( |
| 91 | - 'title' => (string) $this->getTitle(), |
|
| 91 | + 'title' => (string)$this->getTitle(), |
|
| 92 | 92 | 'addresses' => $addresses, |
| 93 | 93 | 'phones' => $this->getPhones(), |
| 94 | 94 | 'emails' => $this->getEmails(), |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | public function serialize() |
| 34 | 34 | { |
| 35 | 35 | return array( |
| 36 | - 'organizer_id' => $this->organizerId, |
|
| 36 | + 'organizer_id' => $this->organizerId, |
|
| 37 | 37 | ); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | public function serialize() |
| 34 | 34 | { |
| 35 | 35 | return parent::serialize() + array( |
| 36 | - 'organizerId' => $this->organizerId, |
|
| 36 | + 'organizerId' => $this->organizerId, |
|
| 37 | 37 | ); |
| 38 | 38 | } |
| 39 | 39 | } |
@@ -113,7 +113,7 @@ |
||
| 113 | 113 | $theme = $this->getTheme()->serialize(); |
| 114 | 114 | } |
| 115 | 115 | return parent::serialize() + array( |
| 116 | - 'title' => (string) $this->getTitle(), |
|
| 116 | + 'title' => (string)$this->getTitle(), |
|
| 117 | 117 | 'event_type' => $this->getEventType()->serialize(), |
| 118 | 118 | 'theme' => $theme, |
| 119 | 119 | 'address' => $this->getAddress()->serialize(), |
@@ -1,8 +1,8 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - * Contains CultuurNet\UDB3\Place\PlaceEvent. |
|
| 5 | - */ |
|
| 3 | + * @file |
|
| 4 | + * Contains CultuurNet\UDB3\Place\PlaceEvent. |
|
| 5 | + */ |
|
| 6 | 6 | |
| 7 | 7 | namespace CultuurNet\UDB3\Place; |
| 8 | 8 | |
@@ -1,7 +1,7 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - */ |
|
| 3 | + * @file |
|
| 4 | + */ |
|
| 5 | 5 | |
| 6 | 6 | namespace CultuurNet\UDB3\Place\ReadModel\Relations\Doctrine; |
| 7 | 7 | |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | |
| 72 | 72 | public function removeRelations($eventId) |
| 73 | 73 | { |
| 74 | - // @todo implement this for non-drupal. |
|
| 74 | + // @todo implement this for non-drupal. |
|
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | /** |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | ]; |
| 49 | 49 | |
| 50 | 50 | if ($this->id) { |
| 51 | - $serializedSavedSearch['id'] = (string) $this->id; |
|
| 51 | + $serializedSavedSearch['id'] = (string)$this->id; |
|
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | return $serializedSavedSearch; |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * @file |
|
| 4 | - */ |
|
| 3 | + * @file |
|
| 4 | + */ |
|
| 5 | 5 | |
| 6 | 6 | namespace CultuurNet\UDB3\Variations; |
| 7 | 7 | |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | /** |
| 29 | 29 | * @param String $name |
| 30 | 30 | * @param QueryString $query |
| 31 | - * @param String $id |
|
| 31 | + * @param string $id |
|
| 32 | 32 | */ |
| 33 | 33 | public function __construct(String $name, QueryString $query, String $id = null) |
| 34 | 34 | { |