@@ -215,7 +215,7 @@ |
||
| 215 | 215 | // Turn each filename into a row for the table |
| 216 | 216 | $original = $this->findOriginalFileFromThumbnail($thumbnail); |
| 217 | 217 | |
| 218 | - $original_url = route(MediaFileUnused::class, [ |
|
| 218 | + $original_url = route(MediaFileUnused::class, [ |
|
| 219 | 219 | 'path' => $original, |
| 220 | 220 | 'w' => 100, |
| 221 | 221 | 'h' => 100, |
@@ -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,13 +161,13 @@ 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 = 0.0; |
| 166 | 166 | $longitude = 0.0; |
| 167 | 167 | $map_bounds = $parent->boundingRectangle(); |
| 168 | 168 | } else { |
| 169 | 169 | $breadcrumbs[] = I18N::translate('Edit'); |
| 170 | - $title .= ' — ' . I18N::translate('Edit'); |
|
| 170 | + $title .= ' — ' . I18N::translate('Edit'); |
|
| 171 | 171 | $latitude = $location->latitude(); |
| 172 | 172 | $longitude = $location->longitude(); |
| 173 | 173 | $map_bounds = $location->boundingRectangle(); |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | { |
| 47 | 47 | use ModuleChartTrait; |
| 48 | 48 | |
| 49 | - protected const ROUTE_URL = '/tree/{tree}/timeline-{scale}'; |
|
| 49 | + protected const ROUTE_URL = '/tree/{tree}/timeline-{scale}'; |
|
| 50 | 50 | |
| 51 | 51 | // Defaults |
| 52 | 52 | protected const DEFAULT_SCALE = 10; |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | '_TODO', |
| 68 | 68 | 'CHAN', |
| 69 | 69 | ]; |
| 70 | - protected const BHEIGHT = 30; |
|
| 70 | + protected const BHEIGHT = 30; |
|
| 71 | 71 | |
| 72 | 72 | // Box height |
| 73 | 73 | |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | |
| 153 | 153 | $params = (array) $request->getParsedBody(); |
| 154 | 154 | |
| 155 | - $add = $params['add'] ?? ''; |
|
| 155 | + $add = $params['add'] ?? ''; |
|
| 156 | 156 | |
| 157 | 157 | Auth::checkComponentAccess($this, ModuleChartInterface::class, $tree, $user); |
| 158 | 158 | |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | $tree = $request->getAttribute('tree'); |
| 50 | 50 | assert($tree instanceof Tree); |
| 51 | 51 | |
| 52 | - $xref = $request->getAttribute('xref'); |
|
| 52 | + $xref = $request->getAttribute('xref'); |
|
| 53 | 53 | assert(is_string($xref)); |
| 54 | 54 | |
| 55 | 55 | $record = Factory::gedcomRecord()->make($xref, $tree); |