summaryrefslogtreecommitdiff
path: root/app/Functions
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-09-13 18:08:33 +0100
committerGreg Roach <fisharebest@gmail.com>2015-09-13 18:08:33 +0100
commit04a105eeae4a6619d5e98410fb92e32a8fa16ed5 (patch)
tree45b14477479906b331b4bf8317e8f660788fbc19 /app/Functions
parent7c51e2ef3ac70ae7de86ddf4d161fb63c30359f4 (diff)
downloadwebtrees-04a105eeae4a6619d5e98410fb92e32a8fa16ed5.tar.gz
webtrees-04a105eeae4a6619d5e98410fb92e32a8fa16ed5.tar.bz2
webtrees-04a105eeae4a6619d5e98410fb92e32a8fa16ed5.zip
CodeStyle
Diffstat (limited to 'app/Functions')
-rw-r--r--app/Functions/FunctionsDb.php22
1 files changed, 11 insertions, 11 deletions
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;
}