Permalink
Browse files

Php-cs-fixer

  • Loading branch information...
JustCarmen committed Sep 9, 2018
1 parent 523aa9f commit 6c68b699024b9bc46ac2b253a5a8debad437e01b
Showing with 2 additions and 6 deletions.
  1. +2 −6 resources/views/lists/surnames-table.php
@@ -50,18 +50,14 @@
<?php endforeach ?>
</td>
<td class="text-center" data-sort="<?= array_sum(array_map(function (array $x) {
return count($x);
}, $surns)) ?>">
<td class="text-center" data-sort="<?= array_sum(array_map(function(array $x) { return count($x); }, $surns)) ?>">
<?php foreach ($surns as $indis): ?>
<?= I18N::number(count($indis)) ?>
<br>
<?php endforeach ?>
<?php if (count($surns) > 1): ?>
<?= I18N::number(array_sum(array_map(function (array $x) {
return count($x);
}, $surns))) ?>
<?= I18N::number(array_sum(array_map(function(array $x) { return count($x); }, $surns))) ?>
<?php endif ?>
</td>
</tr>

0 comments on commit 6c68b69

Please sign in to comment.