summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2019-01-30 12:36:10 +0000
committerGitHub <noreply@github.com>2019-01-30 12:36:10 +0000
commit1218c9ba8726233477869c0401ca45afa13ed679 (patch)
tree96e32e27872350ec9afdefbd46d20cbea365c810
parent08b342ecc108ff7a15dfb491328b96ae80b54c66 (diff)
downloadwebtrees-1218c9ba8726233477869c0401ca45afa13ed679.tar.gz
webtrees-1218c9ba8726233477869c0401ca45afa13ed679.tar.bz2
webtrees-1218c9ba8726233477869c0401ca45afa13ed679.zip
Apply fixes from StyleCI (#2160)
-rw-r--r--app/Statistics/Repository/IndividualRepository.php1
-rw-r--r--app/Statistics/Repository/PlaceRepository.php4
2 files changed, 2 insertions, 3 deletions
diff --git a/app/Statistics/Repository/IndividualRepository.php b/app/Statistics/Repository/IndividualRepository.php
index 291d7e3384..00f61fc6b6 100644
--- a/app/Statistics/Repository/IndividualRepository.php
+++ b/app/Statistics/Repository/IndividualRepository.php
@@ -774,7 +774,6 @@ class IndividualRepository implements IndividualRepositoryInterface
$years = " AND birth.d_year BETWEEN '{$year1}' AND '{$year2}'";
} elseif ($related === 'DEAT') {
$years = " AND death.d_year BETWEEN '{$year1}' AND '{$year2}'";
-
}
}
diff --git a/app/Statistics/Repository/PlaceRepository.php b/app/Statistics/Repository/PlaceRepository.php
index b37732913c..a8acc75d65 100644
--- a/app/Statistics/Repository/PlaceRepository.php
+++ b/app/Statistics/Repository/PlaceRepository.php
@@ -231,11 +231,11 @@ class PlaceRepository implements PlaceRepositoryInterface
*/
public function commonDeathPlacesList(): string
{
- $places = $this->queryFactPlaces('DEAT','INDI');
+ $places = $this->queryFactPlaces('DEAT', 'INDI');
return $this->renderTop10($places);
}
- /**
+ /**
* A list of common marriage places.
*
* @return string