summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Census/CensusColumnFatherBirthPlace.php2
-rw-r--r--app/Date/AbstractCalendarDate.php2
-rw-r--r--app/Date/RomanDate.php4
-rw-r--r--app/Http/RequestHandlers/CalendarEvents.php2
-rw-r--r--app/Http/RequestHandlers/SearchGeneralPage.php2
-rw-r--r--app/Http/RequestHandlers/SearchPhoneticPage.php2
-rw-r--r--app/Http/RequestHandlers/UserPage.php2
-rw-r--r--app/Http/RequestHandlers/UserPageDefaultEdit.php2
-rw-r--r--app/Log.php2
-rw-r--r--app/MediaFile.php2
-rw-r--r--app/Menu.php2
-rw-r--r--app/Module/CloudsTheme.php2
-rw-r--r--app/Module/FabTheme.php2
-rw-r--r--app/Module/InteractiveTree/TreeView.php2
-rw-r--r--app/Module/MinimalTheme.php2
-rw-r--r--app/Module/ModuleSidebarTrait.php2
-rw-r--r--app/Module/ModuleThemeInterface.php2
-rw-r--r--app/Module/ModuleThemeTrait.php2
-rw-r--r--app/Module/RelativesTabModule.php2
-rw-r--r--app/Module/StoriesModule.php2
-rw-r--r--app/Module/WebtreesTheme.php2
-rw-r--r--app/Module/XeneaTheme.php2
-rw-r--r--app/Module/YahrzeitModule.php2
-rw-r--r--app/Services/CalendarService.php4
-rw-r--r--app/Services/ServerCheckService.php4
-rw-r--r--app/Statistics/Repository/Interfaces/BrowserRepositoryInterface.php2
-rw-r--r--app/View.php4
-rw-r--r--app/Webtrees.php2
28 files changed, 32 insertions, 32 deletions
diff --git a/app/Census/CensusColumnFatherBirthPlace.php b/app/Census/CensusColumnFatherBirthPlace.php
index 8e9059008b..8a207da0c9 100644
--- a/app/Census/CensusColumnFatherBirthPlace.php
+++ b/app/Census/CensusColumnFatherBirthPlace.php
@@ -22,7 +22,7 @@ namespace Fisharebest\Webtrees\Census;
use Fisharebest\Webtrees\Individual;
/**
- * Birth place of the individual's fther.
+ * Birth place of the individual's father.
*/
class CensusColumnFatherBirthPlace extends AbstractCensusColumn implements CensusColumnInterface
{
diff --git a/app/Date/AbstractCalendarDate.php b/app/Date/AbstractCalendarDate.php
index 3eddc7d1fb..8f66a209dd 100644
--- a/app/Date/AbstractCalendarDate.php
+++ b/app/Date/AbstractCalendarDate.php
@@ -124,7 +124,7 @@ abstract class AbstractCalendarDate
return;
}
- // Contruct from a CalendarDate
+ // Construct from a CalendarDate
$this->minimum_julian_day = $date->minimum_julian_day;
$this->maximum_julian_day = $date->maximum_julian_day;
diff --git a/app/Date/RomanDate.php b/app/Date/RomanDate.php
index bcca04e974..282369bb77 100644
--- a/app/Date/RomanDate.php
+++ b/app/Date/RomanDate.php
@@ -20,11 +20,11 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees\Date;
/**
- * Definitions for Roman dtes.
+ * Definitions for Roman dates.
*
* The 5.5.1 gedcom spec mentions this calendar, but gives no details of
* how it is to be represented.... This class is just a place holder so that
- * webtrees won’t compain if it receives one.
+ * webtrees won’t complain if it receives one.
*/
class RomanDate extends JulianDate
{
diff --git a/app/Http/RequestHandlers/CalendarEvents.php b/app/Http/RequestHandlers/CalendarEvents.php
index e421b8be35..15e19be28c 100644
--- a/app/Http/RequestHandlers/CalendarEvents.php
+++ b/app/Http/RequestHandlers/CalendarEvents.php
@@ -68,7 +68,7 @@ class CalendarEvents implements RequestHandlerInterface
}
/**
- * Show anniversaries that occured on a given day/month/year.
+ * Show anniversaries that occurred on a given day/month/year.
*
* @param ServerRequestInterface $request
*
diff --git a/app/Http/RequestHandlers/SearchGeneralPage.php b/app/Http/RequestHandlers/SearchGeneralPage.php
index df7e649726..1f8f40394f 100644
--- a/app/Http/RequestHandlers/SearchGeneralPage.php
+++ b/app/Http/RequestHandlers/SearchGeneralPage.php
@@ -96,7 +96,7 @@ class SearchGeneralPage implements RequestHandlerInterface
// What to search for?
$search_terms = $this->extractSearchTerms($query);
- // What trees to seach?
+ // What trees to search?
if (Site::getPreference('ALLOW_CHANGE_GEDCOM') === '1') {
$all_trees = $this->tree_service->all()->all();
} else {
diff --git a/app/Http/RequestHandlers/SearchPhoneticPage.php b/app/Http/RequestHandlers/SearchPhoneticPage.php
index aa72df6d52..ce2b2b00a9 100644
--- a/app/Http/RequestHandlers/SearchPhoneticPage.php
+++ b/app/Http/RequestHandlers/SearchPhoneticPage.php
@@ -77,7 +77,7 @@ class SearchPhoneticPage implements RequestHandlerInterface
$place = $params['place'] ?? '';
$soundex = $params['soundex'] ?? 'Russell';
- // What trees to seach?
+ // What trees to search?
if (Site::getPreference('ALLOW_CHANGE_GEDCOM') === '1') {
$all_trees = $this->tree_service->all()->all();
} else {
diff --git a/app/Http/RequestHandlers/UserPage.php b/app/Http/RequestHandlers/UserPage.php
index ea48fe8e5e..3bab8ab945 100644
--- a/app/Http/RequestHandlers/UserPage.php
+++ b/app/Http/RequestHandlers/UserPage.php
@@ -35,7 +35,7 @@ use Psr\Http\Server\RequestHandlerInterface;
use function assert;
/**
- * Show a users's page.
+ * Show a user's page.
*/
class UserPage implements RequestHandlerInterface
{
diff --git a/app/Http/RequestHandlers/UserPageDefaultEdit.php b/app/Http/RequestHandlers/UserPageDefaultEdit.php
index be2054a4cf..4e6ae9fd2a 100644
--- a/app/Http/RequestHandlers/UserPageDefaultEdit.php
+++ b/app/Http/RequestHandlers/UserPageDefaultEdit.php
@@ -32,7 +32,7 @@ use Psr\Http\Server\RequestHandlerInterface;
use function route;
/**
- * Show a form to edit the default blocks for new uesrs.
+ * Show a form to edit the default blocks for new users.
*/
class UserPageDefaultEdit implements RequestHandlerInterface
{
diff --git a/app/Log.php b/app/Log.php
index 6b9b90e322..250b92b3e9 100644
--- a/app/Log.php
+++ b/app/Log.php
@@ -128,7 +128,7 @@ class Log
/**
* Store a search event in the message log.
* Unlike most webtrees activity, search is not restricted to a single tree,
- * so we need to record which trees were searchecd.
+ * so we need to record which trees were searched.
*
* @param string $message
* @param Tree[] $trees Which trees were searched
diff --git a/app/MediaFile.php b/app/MediaFile.php
index bb7976cfdc..a277efdcae 100644
--- a/app/MediaFile.php
+++ b/app/MediaFile.php
@@ -394,7 +394,7 @@ class MediaFile
}
/**
- * Create a URL signature paramete, using the same algorithm as league/glide,
+ * Create a URL signature parameter, using the same algorithm as league/glide,
* for compatibility with URLs generated by older versions of webtrees.
*
* @param array<mixed> $params
diff --git a/app/Menu.php b/app/Menu.php
index 820a193123..d00dff2acc 100644
--- a/app/Menu.php
+++ b/app/Menu.php
@@ -28,7 +28,7 @@ use const E_USER_DEPRECATED;
*/
class Menu
{
- /** @var string The text to be displayed in the mneu */
+ /** @var string The text to be displayed in the menu */
private $label;
/** @var string The target URL or href */
diff --git a/app/Module/CloudsTheme.php b/app/Module/CloudsTheme.php
index 6c0ac9a716..ce38b37016 100644
--- a/app/Module/CloudsTheme.php
+++ b/app/Module/CloudsTheme.php
@@ -44,7 +44,7 @@ class CloudsTheme extends AbstractModule implements ModuleThemeInterface
}
/**
- * Misecellaneous dimensions, fonts, styles, etc.
+ * Miscellaneous dimensions, fonts, styles, etc.
*
* @param string $parameter_name
*
diff --git a/app/Module/FabTheme.php b/app/Module/FabTheme.php
index 4f9400ac36..dcf05ffd87 100644
--- a/app/Module/FabTheme.php
+++ b/app/Module/FabTheme.php
@@ -40,7 +40,7 @@ class FabTheme extends AbstractModule implements ModuleThemeInterface
}
/**
- * Misecellaneous dimensions, fonts, styles, etc.
+ * Miscellaneous dimensions, fonts, styles, etc.
*
* @param string $parameter_name
*
diff --git a/app/Module/InteractiveTree/TreeView.php b/app/Module/InteractiveTree/TreeView.php
index 4f33884d80..bd105b5faa 100644
--- a/app/Module/InteractiveTree/TreeView.php
+++ b/app/Module/InteractiveTree/TreeView.php
@@ -390,7 +390,7 @@ class TreeView
/**
* Draw a vertical line
*
- * @param string $line A parameter that set how to draw this line with auto-redimensionning capabilities
+ * @param string $line A parameter that set how to draw this line with auto-resizing capabilities
*
* @return string
* WARNING : some tricky hacks are required in CSS to ensure cross-browser compliance
diff --git a/app/Module/MinimalTheme.php b/app/Module/MinimalTheme.php
index 40b5d14d48..e7a8a970cd 100644
--- a/app/Module/MinimalTheme.php
+++ b/app/Module/MinimalTheme.php
@@ -40,7 +40,7 @@ class MinimalTheme extends AbstractModule implements ModuleThemeInterface
}
/**
- * Misecellaneous dimensions, fonts, styles, etc.
+ * Miscellaneous dimensions, fonts, styles, etc.
*
* @param string $parameter_name
*
diff --git a/app/Module/ModuleSidebarTrait.php b/app/Module/ModuleSidebarTrait.php
index 2c100d49fe..06ea3c2ea1 100644
--- a/app/Module/ModuleSidebarTrait.php
+++ b/app/Module/ModuleSidebarTrait.php
@@ -63,7 +63,7 @@ trait ModuleSidebarTrait
/**
- * The default position for this sdiebar.
+ * The default position for this sidebar.
*
* @return int
*/
diff --git a/app/Module/ModuleThemeInterface.php b/app/Module/ModuleThemeInterface.php
index 596f7b335a..55d100ecfa 100644
--- a/app/Module/ModuleThemeInterface.php
+++ b/app/Module/ModuleThemeInterface.php
@@ -45,7 +45,7 @@ interface ModuleThemeInterface extends ModuleInterface
public function menuThemes(): ?Menu;
/**
- * Misecellaneous dimensions, fonts, styles, etc.
+ * Miscellaneous dimensions, fonts, styles, etc.
*
* @param string $parameter_name
*
diff --git a/app/Module/ModuleThemeTrait.php b/app/Module/ModuleThemeTrait.php
index 5e59bf29e6..e34de0513a 100644
--- a/app/Module/ModuleThemeTrait.php
+++ b/app/Module/ModuleThemeTrait.php
@@ -455,7 +455,7 @@ trait ModuleThemeTrait
}
/**
- * Misecellaneous dimensions, fonts, styles, etc.
+ * Miscellaneous dimensions, fonts, styles, etc.
*
* @param string $parameter_name
*
diff --git a/app/Module/RelativesTabModule.php b/app/Module/RelativesTabModule.php
index 8d781afab1..f4c5644ed9 100644
--- a/app/Module/RelativesTabModule.php
+++ b/app/Module/RelativesTabModule.php
@@ -85,7 +85,7 @@ class RelativesTabModule extends AbstractModule implements ModuleTabInterface
'individual' => $individual,
'parent_families' => $individual->childFamilies(),
'spouse_families' => $individual->spouseFamilies(),
- 'step_child_familiess' => $individual->spouseStepFamilies(),
+ 'step_child_families' => $individual->spouseStepFamilies(),
'step_parent_families' => $individual->childStepFamilies(),
]);
}
diff --git a/app/Module/StoriesModule.php b/app/Module/StoriesModule.php
index 85a41d73a4..f0a98afa4e 100644
--- a/app/Module/StoriesModule.php
+++ b/app/Module/StoriesModule.php
@@ -426,7 +426,7 @@ class StoriesModule extends AbstractModule implements ModuleConfigInterface, Mod
return $story;
})->filter(static function (stdClass $story): bool {
- // Filter non-existant and private individuals.
+ // Filter non-existent and private individuals.
return $story->individual instanceof Individual && $story->individual->canShow();
})->filter(static function (stdClass $story): bool {
// Filter foreign languages.
diff --git a/app/Module/WebtreesTheme.php b/app/Module/WebtreesTheme.php
index 8d6d4aa57b..32d5b1305c 100644
--- a/app/Module/WebtreesTheme.php
+++ b/app/Module/WebtreesTheme.php
@@ -39,7 +39,7 @@ class WebtreesTheme extends AbstractModule implements ModuleThemeInterface
}
/**
- * Misecellaneous dimensions, fonts, styles, etc.
+ * Miscellaneous dimensions, fonts, styles, etc.
*
* @param string $parameter_name
*
diff --git a/app/Module/XeneaTheme.php b/app/Module/XeneaTheme.php
index 6c86ea361f..aa519a42ba 100644
--- a/app/Module/XeneaTheme.php
+++ b/app/Module/XeneaTheme.php
@@ -40,7 +40,7 @@ class XeneaTheme extends AbstractModule implements ModuleThemeInterface
}
/**
- * Misecellaneous dimensions, fonts, styles, etc.
+ * Miscellaneous dimensions, fonts, styles, etc.
*
* @param string $parameter_name
*
diff --git a/app/Module/YahrzeitModule.php b/app/Module/YahrzeitModule.php
index 6e2aacfc35..3c77f4d6a1 100644
--- a/app/Module/YahrzeitModule.php
+++ b/app/Module/YahrzeitModule.php
@@ -134,7 +134,7 @@ class YahrzeitModule extends AbstractModule implements ModuleBlockInterface
// Filter adjusted dates to our date range
if ($jd_yahrtzeit >= $startjd && $jd_yahrtzeit < $startjd + $days) {
- // upcomming yahrzeit dates
+ // upcoming yahrzeit dates
switch ($calendar) {
case 'gregorian':
$yahrzeit_calendar_date = new GregorianDate($jd_yahrtzeit);
diff --git a/app/Services/CalendarService.php b/app/Services/CalendarService.php
index 436241ad42..a80a0ea1ff 100644
--- a/app/Services/CalendarService.php
+++ b/app/Services/CalendarService.php
@@ -92,7 +92,7 @@ class CalendarService
}
/**
- * Get a list of events which occured during a given date range.
+ * Get a list of events which occurred during a given date range.
*
* @param int $jd1 the start range of julian day
* @param int $jd2 the end range of julian day
@@ -258,7 +258,7 @@ class CalendarService
}
/**
- * Get a list of events whose anniversary occured on a given julian day.
+ * Get a list of events whose anniversary occurred on a given julian day.
* Used on the on-this-day/upcoming blocks and the day/month calendar views.
*
* @param int $jd the julian day
diff --git a/app/Services/ServerCheckService.php b/app/Services/ServerCheckService.php
index 44efda45e0..2325d40fc9 100644
--- a/app/Services/ServerCheckService.php
+++ b/app/Services/ServerCheckService.php
@@ -187,7 +187,7 @@ class ServerCheckService
}
/**
- * Some servers configure their temporary folder in an unaccessible place.
+ * Some servers configure their temporary folder in an inaccessible place.
*/
private function checkPhpVersion(): string
{
@@ -221,7 +221,7 @@ class ServerCheckService
}
/**
- * Some servers configure their temporary folder in an unaccessible place.
+ * Some servers configure their temporary folder in an inaccessible place.
*/
private function checkSystemTemporaryFolder(): string
{
diff --git a/app/Statistics/Repository/Interfaces/BrowserRepositoryInterface.php b/app/Statistics/Repository/Interfaces/BrowserRepositoryInterface.php
index 364c29cfba..9644036ede 100644
--- a/app/Statistics/Repository/Interfaces/BrowserRepositoryInterface.php
+++ b/app/Statistics/Repository/Interfaces/BrowserRepositoryInterface.php
@@ -39,7 +39,7 @@ interface BrowserRepositoryInterface
public function browserTime(): string;
/**
- * What is the browser's tiemzone.
+ * What is the browser's timezone.
*
* @return string
*/
diff --git a/app/View.php b/app/View.php
index 33af44387d..c5acd670a7 100644
--- a/app/View.php
+++ b/app/View.php
@@ -84,7 +84,7 @@ class View
private static $stacks = [];
/**
- * Createa view from a template name and optional data.
+ * Create a view from a template name and optional data.
*
* @param string $name
* @param array<mixed> $data
@@ -270,7 +270,7 @@ class View
}
/**
- * Cerate and render a view in a single operation.
+ * Crate and render a view in a single operation.
*
* @param string $name
* @param mixed[] $data
diff --git a/app/Webtrees.php b/app/Webtrees.php
index 2a401a13eb..a5e4c72d95 100644
--- a/app/Webtrees.php
+++ b/app/Webtrees.php
@@ -103,7 +103,7 @@ class Webtrees
// Project website.
public const URL = 'https://webtrees.net/';
- // FAQ linnks
+ // FAQ links
public const URL_FAQ_EMAIL = 'https://webtrees.net/faq/email';
// Project website.