@@ -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 |