From 04a105eeae4a6619d5e98410fb92e32a8fa16ed5 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 13 Sep 2015 18:08:33 +0100 Subject: CodeStyle --- app/Functions/FunctionsDb.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'app/Functions') diff --git a/app/Functions/FunctionsDb.php b/app/Functions/FunctionsDb.php index 4759264ce7..f7507eb520 100644 --- a/app/Functions/FunctionsDb.php +++ b/app/Functions/FunctionsDb.php @@ -81,7 +81,7 @@ class FunctionsDb { foreach ($rows as $row) { $list[] = Source::getInstance($row->xref, $tree, $row->gedcom); } - $list = array_filter($list, function(Source $x) { return $x->canShowName(); }); + $list = array_filter($list, function (Source $x) { return $x->canShowName(); }); usort($list, '\Fisharebest\Webtrees\GedcomRecord::compare'); return $list; @@ -105,7 +105,7 @@ class FunctionsDb { foreach ($rows as $row) { $list[] = Repository::getInstance($row->xref, $tree, $row->gedcom); } - $list = array_filter($list, function(Repository $x) { return $x->canShowName(); }); + $list = array_filter($list, function (Repository $x) { return $x->canShowName(); }); usort($list, '\Fisharebest\Webtrees\GedcomRecord::compare'); return $list; @@ -129,7 +129,7 @@ class FunctionsDb { foreach ($rows as $row) { $list[] = Note::getInstance($row->xref, $tree, $row->gedcom); } - $list = array_filter($list, function(Note $x) { return $x->canShowName(); }); + $list = array_filter($list, function (Note $x) { return $x->canShowName(); }); usort($list, '\Fisharebest\Webtrees\GedcomRecord::compare'); return $list; @@ -183,7 +183,7 @@ class FunctionsDb { } $list[] = $record; } - $list = array_filter($list, function(Individual $x) { return $x->canShowName(); }); + $list = array_filter($list, function (Individual $x) { return $x->canShowName(); }); return $list; } @@ -230,7 +230,7 @@ class FunctionsDb { } } } - $list = array_filter($list, function(Individual $x) { return $x->canShowName(); }); + $list = array_filter($list, function (Individual $x) { return $x->canShowName(); }); return $list; } @@ -344,7 +344,7 @@ class FunctionsDb { foreach ($rows as $row) { $list[] = Individual::getInstance($row->xref, Tree::findById($row->gedcom_id), $row->gedcom); } - $list = array_filter($list, function(Individual $x) { return $x->canShowName(); }); + $list = array_filter($list, function (Individual $x) { return $x->canShowName(); }); return $list; } @@ -421,7 +421,7 @@ class FunctionsDb { } $list[] = $record; } - $list = array_filter($list, function(Family $x) { return $x->canShowName(); }); + $list = array_filter($list, function (Family $x) { return $x->canShowName(); }); return $list; } @@ -469,7 +469,7 @@ class FunctionsDb { foreach ($rows as $row) { $list[] = Family::getInstance($row->xref, Tree::findById($row->gedcom_id), $row->gedcom); } - $list = array_filter($list, function(Family $x) { return $x->canShowName(); }); + $list = array_filter($list, function (Family $x) { return $x->canShowName(); }); return $list; } @@ -524,7 +524,7 @@ class FunctionsDb { } $list[] = $record; } - $list = array_filter($list, function(Source $x) { return $x->canShowName(); }); + $list = array_filter($list, function (Source $x) { return $x->canShowName(); }); return $list; } @@ -579,7 +579,7 @@ class FunctionsDb { } $list[] = $record; } - $list = array_filter($list, function(Note $x) { return $x->canShowName(); }); + $list = array_filter($list, function (Note $x) { return $x->canShowName(); }); return $list; } @@ -634,7 +634,7 @@ class FunctionsDb { } $list[] = $record; } - $list = array_filter($list, function(Repository $x) { return $x->canShowName(); }); + $list = array_filter($list, function (Repository $x) { return $x->canShowName(); }); return $list; } -- cgit v1.3