@@ -159,7 +159,7 @@ |
||
| 159 | 159 | $stream_factory = app(StreamFactoryInterface::class); |
| 160 | 160 | assert($stream_factory instanceof StreamFactoryInterface); |
| 161 | 161 | |
| 162 | - $http_stream = $stream_factory->createStreamFromFile($temp_zip_file); |
|
| 162 | + $http_stream = $stream_factory->createStreamFromFile($temp_zip_file); |
|
| 163 | 163 | $filename = addcslashes($download_filename, '"') . '.zip'; |
| 164 | 164 | |
| 165 | 165 | /** @var ResponseFactoryInterface $response_factory */ |
@@ -321,7 +321,7 @@ |
||
| 321 | 321 | |
| 322 | 322 | // Create a source, to indicate the source of the data. |
| 323 | 323 | $record = "0 @WEBTREES@ SOUR\n1 TITL " . $base_url; |
| 324 | - $author = $this->user_service->find((int) $tree->getPreference('CONTACT_USER_ID')); |
|
| 324 | + $author = $this->user_service->find((int) $tree->getPreference('CONTACT_USER_ID')); |
|
| 325 | 325 | if ($author !== null) { |
| 326 | 326 | $record .= "\n1 AUTH " . $author->realName(); |
| 327 | 327 | } |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | { |
| 30 | 30 | public const RECORD_TYPE = 'SOUR'; |
| 31 | 31 | |
| 32 | - protected const ROUTE_NAME = SourcePage::class; |
|
| 32 | + protected const ROUTE_NAME = SourcePage::class; |
|
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * Each object type may have its own special rules, and re-implement this function. |