@@ -53,7 +53,7 @@ |
||
| 53 | 53 | */ |
| 54 | 54 | public function handle(ServerRequestInterface $request): ResponseInterface |
| 55 | 55 | { |
| 56 | - $place_id = (int) $request->getQueryParams()['place_id']; |
|
| 56 | + $place_id = (int) $request->getQueryParams()['place_id']; |
|
| 57 | 57 | |
| 58 | 58 | $place = $this->map_data_service->findById($place_id); |
| 59 | 59 | $parent = $place->parent(); |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | */ |
| 88 | 88 | public function __construct(GedcomService $gedcom_service) |
| 89 | 89 | { |
| 90 | - $this->gedcom_service = $gedcom_service; |
|
| 90 | + $this->gedcom_service = $gedcom_service; |
|
| 91 | 91 | } |
| 92 | 92 | |
| 93 | 93 | /** |
@@ -161,14 +161,14 @@ discard block |
||
| 161 | 161 | |
| 162 | 162 | if ($place_id === 0) { |
| 163 | 163 | $breadcrumbs[] = I18N::translate('Add'); |
| 164 | - $title .= ' — ' . I18N::translate('Add'); |
|
| 164 | + $title .= ' — ' . I18N::translate('Add'); |
|
| 165 | 165 | $latitude = ''; |
| 166 | 166 | $longitude = ''; |
| 167 | 167 | $map_bounds = $parent->boundingRectangle(); |
| 168 | 168 | $marker_position = [$parent->latitude(), $parent->longitude()]; |
| 169 | 169 | } else { |
| 170 | 170 | $breadcrumbs[] = I18N::translate('Edit'); |
| 171 | - $title .= ' — ' . I18N::translate('Edit'); |
|
| 171 | + $title .= ' — ' . I18N::translate('Edit'); |
|
| 172 | 172 | $latitude = $location->latitude(); |
| 173 | 173 | $longitude = $location->longitude(); |
| 174 | 174 | $map_bounds = $location->boundingRectangle(); |