Passed
Push — develop ( 2ad390...689f68 )
by Greg
08:43
created
app/Http/Controllers/MediaFileController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
app/Http/Controllers/EditGedcomRecordController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -400,7 +400,7 @@
 block discarded – undo
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',
Please login to merge, or discard this patch.
app/Module/PedigreeChartModule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -211,7 +211,7 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.