@@ -12,7 +12,7 @@ |
||
12 | 12 | |
13 | 13 | /** |
14 | 14 | * @param Title $title |
15 | - * @param array $adresses |
|
15 | + * @param array $addresses |
|
16 | 16 | * @param array $phones |
17 | 17 | * @param array $emails |
18 | 18 | * @param array $urls |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use CultuurNet\UDB3\Calendar; |
11 | 11 | use CultuurNet\UDB3\CalendarInterface; |
12 | 12 | use CultuurNet\UDB3\Event\EventType; |
13 | -use CultuurNet\UDB3\Location; |
|
14 | 13 | use CultuurNet\UDB3\Place\PlaceEvent; |
15 | 14 | use CultuurNet\UDB3\Theme; |
16 | 15 | use CultuurNet\UDB3\Title; |
@@ -49,7 +49,6 @@ |
||
49 | 49 | /** |
50 | 50 | * @param string $placeId |
51 | 51 | * @param Title $title |
52 | - * @param string $location |
|
53 | 52 | * @param CalendarInterface $calendar |
54 | 53 | */ |
55 | 54 | public function __construct($placeId, Title $title, EventType $eventType, Address $address, CalendarInterface $calendar, $theme = null) |
@@ -13,8 +13,6 @@ |
||
13 | 13 | protected $repositories; |
14 | 14 | |
15 | 15 | /** |
16 | - * @param SavedSearchRepositoryInterface $repository,... |
|
17 | - * Optionally an unlimited list of repositories to combine. |
|
18 | 16 | * |
19 | 17 | * @throws \InvalidArgumentException |
20 | 18 | * When one of the provided arguments does not implement |
@@ -26,7 +26,7 @@ |
||
26 | 26 | foreach ($arguments as $argument) { |
27 | 27 | if (!($argument instanceof SavedSearchRepositoryInterface)) { |
28 | 28 | $error = 'Argument provided should implement SavedSearchRepositoryInterface. (' |
29 | - . get_class($argument) . ' given.)'; |
|
29 | + . get_class($argument).' given.)'; |
|
30 | 30 | throw new \InvalidArgumentException($error); |
31 | 31 | } |
32 | 32 |
@@ -16,7 +16,7 @@ |
||
16 | 16 | protected $user; |
17 | 17 | |
18 | 18 | /** |
19 | - * @param String $userId |
|
19 | + * @param String $user |
|
20 | 20 | */ |
21 | 21 | public function __construct(\CultureFeed_User $user) |
22 | 22 | { |
@@ -12,7 +12,6 @@ |
||
12 | 12 | protected $emailAddress; |
13 | 13 | |
14 | 14 | /** |
15 | - * @param String $userId |
|
16 | 15 | */ |
17 | 16 | public function __construct(EmailAddress $emailAddress) |
18 | 17 | { |
@@ -25,6 +25,6 @@ |
||
25 | 25 | */ |
26 | 26 | private function generateQuery() |
27 | 27 | { |
28 | - return 'createdby:' . $this->emailAddress; |
|
28 | + return 'createdby:'.$this->emailAddress; |
|
29 | 29 | } |
30 | 30 | } |
@@ -7,7 +7,6 @@ |
||
7 | 7 | |
8 | 8 | namespace CultuurNet\UDB3; |
9 | 9 | |
10 | -use Assert\Assertion; |
|
11 | 10 | use Broadway\Domain\AggregateRoot; |
12 | 11 | use Broadway\Domain\DomainEventStream; |
13 | 12 |
@@ -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 |