Passed
Pull Request — main (#5166)
by Bernard
07:26
created
app/Module/AbstractIndividualListModule.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -304,7 +304,8 @@  discard block
 block discarded – undo
304 304
                     <li class="wt-initials-list-item d-flex">
305 305
                         <?php if ($count > 0) : ?>
306 306
                             <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>
307
-                        <?php else : ?>
307
+                        <?php else {
308
+    : ?>
308 309
                             <span class="wt-initial px-1 text-muted"><?= $this->displaySurnameInitial((string) $letter) ?></span>
309 310
 
310 311
                         <?php endif ?>
@@ -359,6 +360,7 @@  discard block
 block discarded – undo
359 360
                 switch ($alpha) {
360 361
                     case '@':
361 362
                         $filter = static fn (string $x): bool => $x === Individual::NOMEN_NESCIO;
363
+}
362 364
                         break;
363 365
                     case ',':
364 366
                         $filter = static fn (string $x): bool => $x === '';
Please login to merge, or discard this patch.
app/Http/Dispatcher.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,8 @@
 block discarded – undo
54 54
         RequestHandlerInterface $carry,
55 55
         string|MiddlewareInterface $item,
56 56
     ): RequestHandlerInterface {
57
-        return new readonly class (carry: $carry, item: $item) implements RequestHandlerInterface {
57
+        return new readonly class (carry: $carry, item: $item) implements RequestHandlerInterface
58
+        {
58 59
             /**
59 60
              * @param class-string|MiddlewareInterface $item
60 61
              */
Please login to merge, or discard this patch.