@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | } |
| 158 | 158 | } |
| 159 | 159 | |
| 160 | - if ($values[$i] !== '' || $children_with_values && !$element instanceof AbstractXrefElement) { |
|
| 160 | + if ($values[$i] !== '' || $children_with_values && !$element instanceof AbstractXrefElement) { |
|
| 161 | 161 | if ($values[$i] === '') { |
| 162 | 162 | $gedcom_lines[] = $levels[$i] . ' ' . $tags[$i]; |
| 163 | 163 | } else { |
@@ -231,7 +231,7 @@ discard block |
||
| 231 | 231 | * |
| 232 | 232 | * @return array<string> |
| 233 | 233 | */ |
| 234 | - public function factsToAdd(Family|Individual $record, bool $include_hidden): array |
|
| 234 | + public function factsToAdd(Family | Individual $record, bool $include_hidden): array |
|
| 235 | 235 | { |
| 236 | 236 | $subtags = Registry::elementFactory()->make($record->tag())->subtags(); |
| 237 | 237 | |
@@ -115,7 +115,7 @@ |
||
| 115 | 115 | |
| 116 | 116 | try { |
| 117 | 117 | $file_exists = $data_filesystem->fileExists($path); |
| 118 | - } catch (FilesystemException | UnableToCheckFileExistence ) { |
|
| 118 | + } catch (FilesystemException | UnableToCheckFileExistence) { |
|
| 119 | 119 | $file_exists = false; |
| 120 | 120 | } |
| 121 | 121 | |
@@ -114,7 +114,7 @@ |
||
| 114 | 114 | * |
| 115 | 115 | * @return ResponseInterface |
| 116 | 116 | */ |
| 117 | -function response(array|object|string $content = '', int $code = StatusCodeInterface::STATUS_OK, array $headers = []): ResponseInterface |
|
| 117 | +function response(array | object | string $content = '', int $code = StatusCodeInterface::STATUS_OK, array $headers = []): ResponseInterface |
|
| 118 | 118 | { |
| 119 | 119 | return Registry::responseFactory()->response($content, $code, $headers); |
| 120 | 120 | } |