@@ -91,7 +91,7 @@ |
||
| 91 | 91 | /** |
| 92 | 92 | * Factory method to create a new event. |
| 93 | 93 | * |
| 94 | - * @param $eventId |
|
| 94 | + * @param string $eventId |
|
| 95 | 95 | * @param Language $mainLanguage |
| 96 | 96 | * @param Title $title |
| 97 | 97 | * @param EventType $eventType |
@@ -154,7 +154,7 @@ |
||
| 154 | 154 | } |
| 155 | 155 | return parent::serialize() + array( |
| 156 | 156 | 'main_language' => $this->mainLanguage->getCode(), |
| 157 | - 'title' => (string) $this->getTitle(), |
|
| 157 | + 'title' => (string)$this->getTitle(), |
|
| 158 | 158 | 'event_type' => $this->getEventType()->serialize(), |
| 159 | 159 | 'theme' => $theme, |
| 160 | 160 | 'address' => $this->getAddress()->serialize(), |