Passed
Push — 2.1 ( a725b1...2c1645 )
by Greg
11:41 queued 05:44
created
app/Module/IndividualListModule.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -593,7 +593,7 @@
 block discarded – undo
593 593
             ->groupBy([$this->binaryColumn('n_givn')]);
594 594
 
595 595
         foreach ($query->get() as $row) {
596
-            $initial            = I18N::strtoupper(I18N::language()->initialLetter($row->n_givn));
596
+            $initial = I18N::strtoupper(I18N::language()->initialLetter($row->n_givn));
597 597
             $initials[$initial] ??= 0;
598 598
             $initials[$initial] += (int) $row->count;
599 599
         }
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -290,7 +290,8 @@  discard block
 block discarded – undo
290 290
                     <li class="wt-initials-list-item d-flex">
291 291
                         <?php if ($count > 0) : ?>
292 292
                             <a href="<?= e($this->listUrl($tree, ['alpha' => $letter, 'show_marnm' => $show_marnm, 'tree' => $tree->name()])) ?>" class="wt-initial px-1<?= $letter === $alpha ? ' active' : '' ?> '" title="<?= I18N::number($count) ?>"><?= $this->displaySurnameInitial((string) $letter) ?></a>
293
-                        <?php else : ?>
293
+                        <?php else {
294
+    : ?>
294 295
                             <span class="wt-initial px-1 text-muted"><?= $this->displaySurnameInitial((string) $letter) ?></span>
295 296
 
296 297
                         <?php endif ?>
@@ -345,6 +346,7 @@  discard block
 block discarded – undo
345 346
                 switch ($alpha) {
346 347
                     case '@':
347 348
                         $filter = static fn(string $x): bool => $x === Individual::NOMEN_NESCIO;
349
+}
348 350
                         break;
349 351
                     case ',':
350 352
                         $filter = static fn(string $x): bool => $x === '';
Please login to merge, or discard this patch.