summaryrefslogtreecommitdiff
path: root/app/Module/SourcesTabModule.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-12-23 21:15:42 +0000
committerGreg Roach <fisharebest@gmail.com>2016-12-23 21:15:42 +0000
commit13abd6f3a37322f885d85df150e105d27ad81f8d (patch)
treef023015b458c95273afe5876246adf141de169ca /app/Module/SourcesTabModule.php
parent2c55bacfbfed3c49d3f2ac181fb519d24ffe2803 (diff)
downloadwebtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.gz
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.tar.bz2
webtrees-13abd6f3a37322f885d85df150e105d27ad81f8d.zip
Code style - short array syntax
Diffstat (limited to 'app/Module/SourcesTabModule.php')
-rw-r--r--app/Module/SourcesTabModule.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Module/SourcesTabModule.php b/app/Module/SourcesTabModule.php
index c5ea51d2a3..5ec30a3c17 100644
--- a/app/Module/SourcesTabModule.php
+++ b/app/Module/SourcesTabModule.php
@@ -125,7 +125,7 @@ class SourcesTabModule extends AbstractModule implements ModuleTabInterface {
}
}
}
- $this->facts = array();
+ $this->facts = [];
foreach ($facts as $fact) {
if (preg_match('/(?:^1|\n\d) SOUR/', $fact->getGedcom())) {
$this->facts[] = $fact;