summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-02-05 09:24:03 +0000
committerGreg Roach <greg@subaqua.co.uk>2022-02-05 09:24:03 +0000
commit28c143117eed4783b14d8303be92ee14cbe7c64e (patch)
treeb8cd0bf3a3d9f333b0e0843597206b2a78427624 /app
parent76e7c249722a8bc32771b8fa1ee4ce833a391f83 (diff)
downloadwebtrees-28c143117eed4783b14d8303be92ee14cbe7c64e.tar.gz
webtrees-28c143117eed4783b14d8303be92ee14cbe7c64e.tar.bz2
webtrees-28c143117eed4783b14d8303be92ee14cbe7c64e.zip
CodeStyle
Diffstat (limited to 'app')
-rw-r--r--app/Http/RequestHandlers/AddChildToFamilyPage.php4
-rw-r--r--app/Http/RequestHandlers/AddChildToIndividualPage.php2
-rw-r--r--app/Http/RequestHandlers/AddParentToIndividualPage.php2
-rw-r--r--app/Http/RequestHandlers/AddSpouseToFamilyPage.php4
-rw-r--r--app/Http/RequestHandlers/AddSpouseToIndividualPage.php4
-rw-r--r--app/Http/RequestHandlers/AddUnlinkedPage.php2
6 files changed, 9 insertions, 9 deletions
diff --git a/app/Http/RequestHandlers/AddChildToFamilyPage.php b/app/Http/RequestHandlers/AddChildToFamilyPage.php
index 1ff1713149..f0ab47196c 100644
--- a/app/Http/RequestHandlers/AddChildToFamilyPage.php
+++ b/app/Http/RequestHandlers/AddChildToFamilyPage.php
@@ -79,11 +79,11 @@ class AddChildToFamilyPage implements RequestHandlerInterface
// Name facts.
$surname_tradition = SurnameTradition::create($tree->getPreference('SURNAME_TRADITION'));
$names = $surname_tradition->newChildNames($family->husband(), $family->wife(), $sex);
- $name_facts = array_map(static fn(string $gedcom): Fact => new Fact($gedcom, $dummy, ''), $names);
+ $name_facts = array_map(static fn (string $gedcom): Fact => new Fact($gedcom, $dummy, ''), $names);
// Individual facts and events.
$quick_facts = explode(',', $tree->getPreference('QUICK_REQUIRED_FACTS'));
- $indi_facts = array_map(static fn(string $fact): Fact => new Fact('1 ' . $fact, $dummy, ''), $quick_facts);
+ $indi_facts = array_map(static fn (string $fact): Fact => new Fact('1 ' . $fact, $dummy, ''), $quick_facts);
$facts = [
'i' => [
diff --git a/app/Http/RequestHandlers/AddChildToIndividualPage.php b/app/Http/RequestHandlers/AddChildToIndividualPage.php
index 49f8a39af2..0b1f122206 100644
--- a/app/Http/RequestHandlers/AddChildToIndividualPage.php
+++ b/app/Http/RequestHandlers/AddChildToIndividualPage.php
@@ -95,7 +95,7 @@ class AddChildToIndividualPage implements RequestHandlerInterface
// Individual facts and events.
$quick_facts = explode(',', $tree->getPreference('QUICK_REQUIRED_FACTS'));
- $indi_facts = array_map(static fn(string $fact): Fact => new Fact('1 ' . $fact, $dummy, ''), $quick_facts);
+ $indi_facts = array_map(static fn (string $fact): Fact => new Fact('1 ' . $fact, $dummy, ''), $quick_facts);
$facts = [
'i' => [
diff --git a/app/Http/RequestHandlers/AddParentToIndividualPage.php b/app/Http/RequestHandlers/AddParentToIndividualPage.php
index d45bab79e0..208a15d8ce 100644
--- a/app/Http/RequestHandlers/AddParentToIndividualPage.php
+++ b/app/Http/RequestHandlers/AddParentToIndividualPage.php
@@ -84,7 +84,7 @@ class AddParentToIndividualPage implements RequestHandlerInterface
// Individual facts and events.
$quick_facts = explode(',', $tree->getPreference('QUICK_REQUIRED_FACTS'));
- $indi_facts = array_map(static fn(string $fact): Fact => new Fact('1 ' . $fact, $dummy, ''), $quick_facts);
+ $indi_facts = array_map(static fn (string $fact): Fact => new Fact('1 ' . $fact, $dummy, ''), $quick_facts);
$facts = [
'i' => [
diff --git a/app/Http/RequestHandlers/AddSpouseToFamilyPage.php b/app/Http/RequestHandlers/AddSpouseToFamilyPage.php
index c4c19205c1..2deb324905 100644
--- a/app/Http/RequestHandlers/AddSpouseToFamilyPage.php
+++ b/app/Http/RequestHandlers/AddSpouseToFamilyPage.php
@@ -88,11 +88,11 @@ class AddSpouseToFamilyPage implements RequestHandlerInterface
// Individual facts and events.
$quick_facts = explode(',', $tree->getPreference('QUICK_REQUIRED_FACTS'));
- $indi_facts = array_map(static fn(string $fact): Fact => new Fact('1 ' . $fact, $dummyi, ''), $quick_facts);
+ $indi_facts = array_map(static fn (string $fact): Fact => new Fact('1 ' . $fact, $dummyi, ''), $quick_facts);
// Family facts and events.
$quick_facts = explode(',', $tree->getPreference('QUICK_REQUIRED_FAMFACTS'));
- $fam_facts = array_map(static fn(string $fact): Fact => new Fact('1 ' . $fact, $dummyf, ''), $quick_facts);
+ $fam_facts = array_map(static fn (string $fact): Fact => new Fact('1 ' . $fact, $dummyf, ''), $quick_facts);
$facts = [
'i' => [
diff --git a/app/Http/RequestHandlers/AddSpouseToIndividualPage.php b/app/Http/RequestHandlers/AddSpouseToIndividualPage.php
index cc5f05d821..9071a5968a 100644
--- a/app/Http/RequestHandlers/AddSpouseToIndividualPage.php
+++ b/app/Http/RequestHandlers/AddSpouseToIndividualPage.php
@@ -90,11 +90,11 @@ class AddSpouseToIndividualPage implements RequestHandlerInterface
// Individual facts and events.
$quick_facts = explode(',', $tree->getPreference('QUICK_REQUIRED_FACTS'));
- $indi_facts = array_map(static fn(string $fact): Fact => new Fact('1 ' . $fact, $dummyi, ''), $quick_facts);
+ $indi_facts = array_map(static fn (string $fact): Fact => new Fact('1 ' . $fact, $dummyi, ''), $quick_facts);
// Family facts and events.
$quick_facts = explode(',', $tree->getPreference('QUICK_REQUIRED_FAMFACTS'));
- $fam_facts = array_map(static fn(string $fact): Fact => new Fact('1 ' . $fact, $dummyf, ''), $quick_facts);
+ $fam_facts = array_map(static fn (string $fact): Fact => new Fact('1 ' . $fact, $dummyf, ''), $quick_facts);
$facts = [
'i' => [
diff --git a/app/Http/RequestHandlers/AddUnlinkedPage.php b/app/Http/RequestHandlers/AddUnlinkedPage.php
index 3c8b171090..9e364b4b9a 100644
--- a/app/Http/RequestHandlers/AddUnlinkedPage.php
+++ b/app/Http/RequestHandlers/AddUnlinkedPage.php
@@ -67,7 +67,7 @@ class AddUnlinkedPage implements RequestHandlerInterface
// Individual facts and events.
$quick_facts = explode(',', $tree->getPreference('QUICK_REQUIRED_FACTS'));
- $indi_facts = array_map(static fn(string $fact): Fact => new Fact('1 ' . $fact, $dummy, ''), $quick_facts);
+ $indi_facts = array_map(static fn (string $fact): Fact => new Fact('1 ' . $fact, $dummy, ''), $quick_facts);
$facts = [
'i' => [