@@ -70,10 +70,10 @@ |
||
| 70 | 70 | public function serialize() |
| 71 | 71 | { |
| 72 | 72 | return [ |
| 73 | - 'streetAddress' => $this->streetAddress, |
|
| 74 | - 'postalCode' => $this->postalCode, |
|
| 75 | - 'locality' => $this->locality, |
|
| 76 | - 'country' => $this->country, |
|
| 73 | + 'streetAddress' => $this->streetAddress, |
|
| 74 | + 'postalCode' => $this->postalCode, |
|
| 75 | + 'locality' => $this->locality, |
|
| 76 | + 'country' => $this->country, |
|
| 77 | 77 | ]; |
| 78 | 78 | } |
| 79 | 79 | |
@@ -132,14 +132,14 @@ |
||
| 132 | 132 | public function serialize() |
| 133 | 133 | { |
| 134 | 134 | return [ |
| 135 | - 'phone' => $this->phone, |
|
| 136 | - 'email' => $this->email, |
|
| 137 | - 'url' => $this->url, |
|
| 138 | - 'urlLabel' => $this->urlLabel, |
|
| 139 | - 'name' => $this->name, |
|
| 140 | - 'description' => $this->description, |
|
| 141 | - 'availabilityStarts' => $this->availabilityStarts, |
|
| 142 | - 'availabilityEnds' => $this->availabilityEnds |
|
| 135 | + 'phone' => $this->phone, |
|
| 136 | + 'email' => $this->email, |
|
| 137 | + 'url' => $this->url, |
|
| 138 | + 'urlLabel' => $this->urlLabel, |
|
| 139 | + 'name' => $this->name, |
|
| 140 | + 'description' => $this->description, |
|
| 141 | + 'availabilityStarts' => $this->availabilityStarts, |
|
| 142 | + 'availabilityEnds' => $this->availabilityEnds |
|
| 143 | 143 | ]; |
| 144 | 144 | } |
| 145 | 145 | |
@@ -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 | |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | |
| 24 | 24 | $method = $this->getHandleMethod($command); |
| 25 | 25 | |
| 26 | - if (! method_exists($this, $method)) { |
|
| 26 | + if (!method_exists($this, $method)) { |
|
| 27 | 27 | return; |
| 28 | 28 | } |
| 29 | 29 | |
@@ -72,10 +72,10 @@ |
||
| 72 | 72 | public function serialize() |
| 73 | 73 | { |
| 74 | 74 | return [ |
| 75 | - 'phone' => $this->phones, |
|
| 76 | - 'email' => $this->emails, |
|
| 77 | - 'url' => $this->urls, |
|
| 78 | - 'type' => $this->type, |
|
| 75 | + 'phone' => $this->phones, |
|
| 76 | + 'email' => $this->emails, |
|
| 77 | + 'url' => $this->urls, |
|
| 78 | + 'type' => $this->type, |
|
| 79 | 79 | ]; |
| 80 | 80 | } |
| 81 | 81 | |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | public static function deserialize(array $data) |
| 58 | 58 | { |
| 59 | 59 | $labels = array_map( |
| 60 | - function ($item) { |
|
| 60 | + function($item) { |
|
| 61 | 61 | return new Label( |
| 62 | 62 | $item['text'], |
| 63 | 63 | $item['visible'] |
@@ -78,9 +78,9 @@ discard block |
||
| 78 | 78 | public function serialize() |
| 79 | 79 | { |
| 80 | 80 | $labels = array_map( |
| 81 | - function (Label $label) { |
|
| 81 | + function(Label $label) { |
|
| 82 | 82 | return [ |
| 83 | - 'text' => (string) $label, |
|
| 83 | + 'text' => (string)$label, |
|
| 84 | 84 | 'visible' => $label->isVisible(), |
| 85 | 85 | ]; |
| 86 | 86 | }, |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: nicolas |
|
| 5 | - * Date: 04/11/15 |
|
| 6 | - * Time: 17:35 |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: nicolas |
|
| 5 | + * Date: 04/11/15 |
|
| 6 | + * Time: 17:35 |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace CultuurNet\UDB3\Event\Events; |
| 10 | 10 | |
@@ -1,10 +1,10 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | - * Created by PhpStorm. |
|
| 4 | - * User: nicolas |
|
| 5 | - * Date: 16/11/15 |
|
| 6 | - * Time: 14:03 |
|
| 7 | - */ |
|
| 3 | + * Created by PhpStorm. |
|
| 4 | + * User: nicolas |
|
| 5 | + * Date: 16/11/15 |
|
| 6 | + * Time: 14:03 |
|
| 7 | + */ |
|
| 8 | 8 | |
| 9 | 9 | namespace CultuurNet\UDB3\Event\Events; |
| 10 | 10 | |
@@ -215,7 +215,7 @@ |
||
| 215 | 215 | $labels = $labelsMerged->getLabels()->toStrings(); |
| 216 | 216 | // Quote labels. |
| 217 | 217 | $quotedLabels = array_map( |
| 218 | - function ($label) { |
|
| 218 | + function($label) { |
|
| 219 | 219 | return "'{$label}'"; |
| 220 | 220 | }, |
| 221 | 221 | $labels |
@@ -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 | |