@@ -191,7 +191,7 @@ |
||
191 | 191 | unset($params['route']); |
192 | 192 | $this->glideSignature()->validateRequest('', $params); |
193 | 193 | |
194 | - $path = $media_file->media()->tree()->getPreference('MEDIA_DIRECTORY', 'media/') . $media_file->filename(); |
|
194 | + $path = $media_file->media()->tree()->getPreference('MEDIA_DIRECTORY', 'media/') . $media_file->filename(); |
|
195 | 195 | $folder = dirname($path); |
196 | 196 | |
197 | 197 | $cache_path = 'thumbnail-cache/' . md5($folder); |
@@ -400,7 +400,7 @@ |
||
400 | 400 | $NAME = $request->getParsedBody()['NAME'] ?? ''; |
401 | 401 | |
402 | 402 | if ($NAME !== '') { |
403 | - $newged .= "\n1 NAME " . $NAME; |
|
403 | + $newged .= "\n1 NAME " . $NAME; |
|
404 | 404 | $name_facts = [ |
405 | 405 | 'TYPE', |
406 | 406 | 'NPFX', |
@@ -211,7 +211,7 @@ |
||
211 | 211 | |
212 | 212 | // Father’s ancestors link to the father’s pedigree |
213 | 213 | // Mother’s ancestors link to the mother’s pedigree.. |
214 | - $links = $ancestors->map(function (?Individual $individual, $sosa) use ($ancestors, $style, $generations): string { |
|
214 | + $links = $ancestors->map(function (?Individual $individual, $sosa) use ($ancestors, $style, $generations) : string { |
|
215 | 215 | if ($individual instanceof Individual && $sosa >= 2 ** $generations / 2 && $individual->childFamilies()->isNotEmpty()) { |
216 | 216 | // The last row/column, and there are more generations. |
217 | 217 | if ($sosa >= 2 ** $generations * 3 / 4) { |