summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Cissée <ric@richard-cissee.de>2020-08-27 14:55:17 +0200
committerGitHub <noreply@github.com>2020-08-27 13:55:17 +0100
commit0874af268f0117b9dcc708200448449d80c9c87f (patch)
tree99d1ab62b3a8d2325c2903e052950a26bf6b1f97
parent8d651de7b758fef022f7f2eac753719b60062669 (diff)
downloadwebtrees-0874af268f0117b9dcc708200448449d80c9c87f.tar.gz
webtrees-0874af268f0117b9dcc708200448449d80c9c87f.tar.bz2
webtrees-0874af268f0117b9dcc708200448449d80c9c87f.zip
fix some typos, copy&paste issues and the like (#3462)
-rw-r--r--README.md2
-rw-r--r--app/Age.php2
-rw-r--r--app/Factories/LocationFactory.php6
-rw-r--r--app/Module/IndividualFactsTabModule.php2
-rw-r--r--app/Module/WelcomeBlockModule.php2
-rw-r--r--app/PlaceLocation.php2
6 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index bc6417bcff..243dba9206 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ Further documentation is available at [wiki.webtrees.net](https://wiki.webtrees.
## License
* **webtrees: online genealogy**
-* Copyright 2019 webtrees development team
+* Copyright 2020 webtrees development team
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
diff --git a/app/Age.php b/app/Age.php
index d0ce8e5852..03d9b31b93 100644
--- a/app/Age.php
+++ b/app/Age.php
@@ -22,7 +22,7 @@ namespace Fisharebest\Webtrees;
use function view;
/**
- * The different between to GEDCOM dates.
+ * The difference between two GEDCOM dates.
*/
class Age
{
diff --git a/app/Factories/LocationFactory.php b/app/Factories/LocationFactory.php
index 133a7dfb14..9ca1d1e3c6 100644
--- a/app/Factories/LocationFactory.php
+++ b/app/Factories/LocationFactory.php
@@ -71,10 +71,10 @@ class LocationFactory extends AbstractGedcomRecordFactory implements LocationFac
public function mapper(Tree $tree): Closure
{
return function (stdClass $row) use ($tree): Location {
- $submitter = $this->make($row->o_id, $tree, $row->o_gedcom);
- assert($submitter instanceof Location);
+ $location = $this->make($row->o_id, $tree, $row->o_gedcom);
+ assert($location instanceof Location);
- return $submitter;
+ return $location;
};
}
diff --git a/app/Module/IndividualFactsTabModule.php b/app/Module/IndividualFactsTabModule.php
index 081bada521..d286ab42fd 100644
--- a/app/Module/IndividualFactsTabModule.php
+++ b/app/Module/IndividualFactsTabModule.php
@@ -46,7 +46,7 @@ class IndividualFactsTabModule extends AbstractModule implements ModuleTabInterf
private $clipboard_service;
/**
- * UserWelcomeModule constructor.
+ * IndividualFactsTabModule constructor.
*
* @param ModuleService $module_service
* @param ClipboardService $clipboard_service
diff --git a/app/Module/WelcomeBlockModule.php b/app/Module/WelcomeBlockModule.php
index 23d0970b83..653c97b9c8 100644
--- a/app/Module/WelcomeBlockModule.php
+++ b/app/Module/WelcomeBlockModule.php
@@ -40,7 +40,7 @@ class WelcomeBlockModule extends AbstractModule implements ModuleBlockInterface
private $module_service;
/**
- * UserWelcomeModule constructor.
+ * WelcomeBlockModule constructor.
*
* @param ModuleService $module_service
*/
diff --git a/app/PlaceLocation.php b/app/PlaceLocation.php
index 36bff41149..3003beb685 100644
--- a/app/PlaceLocation.php
+++ b/app/PlaceLocation.php
@@ -168,7 +168,7 @@ class PlaceLocation
}
/**
- * Latitude of the longitude.
+ * Longitude of the location.
*
* @return float
*/