@@ -784,7 +784,7 @@ discard block |
||
| 784 | 784 | $access_level = $access_level ?? Auth::accessLevel($this->tree); |
| 785 | 785 | |
| 786 | 786 | // Convert BIRT into INDI:BIRT, etc. |
| 787 | - $filter = array_map(fn (string $tag): string => $this->tag() . ':' . $tag, $filter); |
|
| 787 | + $filter = array_map(fn(string $tag): string => $this->tag() . ':' . $tag, $filter); |
|
| 788 | 788 | |
| 789 | 789 | $facts = new Collection(); |
| 790 | 790 | if ($this->canShow($access_level)) { |
@@ -804,7 +804,7 @@ discard block |
||
| 804 | 804 | |
| 805 | 805 | default: |
| 806 | 806 | $subtags = Registry::elementFactory()->make($this->tag())->subtags(); |
| 807 | - $subtags = array_map(fn (string $tag): string => $this->tag() . ':' . $tag, array_keys($subtags)); |
|
| 807 | + $subtags = array_map(fn(string $tag): string => $this->tag() . ':' . $tag, array_keys($subtags)); |
|
| 808 | 808 | $subtags = array_combine(range(1, count($subtags)), $subtags); |
| 809 | 809 | |
| 810 | 810 | $facts = $facts |
@@ -130,9 +130,9 @@ |
||
| 130 | 130 | |
| 131 | 131 | if ($one_line_only) { |
| 132 | 132 | return |
| 133 | - '<div class="fact_NOTE">' . |
|
| 134 | - I18N::translate('<span class="label">%1$s:</span> <span class="field" dir="auto">%2$s</span>', $label, $html) . |
|
| 135 | - '</div>'; |
|
| 133 | + '<div class="fact_NOTE">' . |
|
| 134 | + I18N::translate('<span class="label">%1$s:</span> <span class="field" dir="auto">%2$s</span>', $label, $html) . |
|
| 135 | + '</div>'; |
|
| 136 | 136 | } |
| 137 | 137 | |
| 138 | 138 | return |