summaryrefslogtreecommitdiff
path: root/app/Fact.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-11-11 06:46:30 +0000
committerGreg Roach <fisharebest@webtrees.net>2018-11-18 09:14:42 +0000
commit4fb14fcb5ee76066edbf821710fa9ec3480291bf (patch)
tree472359a298fd4561b2d978e1a842ec0700bdbe40 /app/Fact.php
parentdc124885db241fd8521088b8689a0a0d42b43764 (diff)
downloadwebtrees-4fb14fcb5ee76066edbf821710fa9ec3480291bf.tar.gz
webtrees-4fb14fcb5ee76066edbf821710fa9ec3480291bf.tar.bz2
webtrees-4fb14fcb5ee76066edbf821710fa9ec3480291bf.zip
Rename Fact::getPlace() to place()
Diffstat (limited to 'app/Fact.php')
-rw-r--r--app/Fact.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Fact.php b/app/Fact.php
index f459c0bb82..873eb1e93f 100644
--- a/app/Fact.php
+++ b/app/Fact.php
@@ -301,7 +301,7 @@ class Fact
*
* @return Place
*/
- public function getPlace(): Place
+ public function place(): Place
{
if ($this->place === null) {
$this->place = new Place($this->attribute('PLAC'), $this->record()->getTree());
@@ -526,8 +526,8 @@ class Fact
}
}
// Fact place
- if (!$this->getPlace()->isEmpty()) {
- $attributes[] = $this->getPlace()->getShortName();
+ if (!$this->place()->isEmpty()) {
+ $attributes[] = $this->place()->getShortName();
}
}