summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-02-18 13:56:15 +0000
committerGreg Roach <greg@subaqua.co.uk>2022-02-18 14:23:58 +0000
commit36779af1bd0601de7819554b13a393f6edb92507 (patch)
tree5b3d1507c1c7ef8cb5d790a6a25033c4651caca1 /resources
parent7b0d562e1536c7d515bfdb12e13250a94005b418 (diff)
downloadwebtrees-36779af1bd0601de7819554b13a393f6edb92507.tar.gz
webtrees-36779af1bd0601de7819554b13a393f6edb92507.tar.bz2
webtrees-36779af1bd0601de7819554b13a393f6edb92507.zip
PHPdoc
Diffstat (limited to 'resources')
-rw-r--r--resources/views/admin/broadcast.phtml12
-rw-r--r--resources/views/admin/components.phtml4
-rw-r--r--resources/views/admin/control-panel.phtml142
-rw-r--r--resources/views/admin/data-fix-select.phtml8
-rw-r--r--resources/views/admin/gedcom-export-options.phtml5
-rw-r--r--resources/views/admin/locations.phtml2
-rw-r--r--resources/views/admin/media-upload.phtml8
-rw-r--r--resources/views/admin/media.phtml14
-rw-r--r--resources/views/admin/modules.phtml6
-rw-r--r--resources/views/admin/site-logs.phtml24
-rw-r--r--resources/views/admin/trees-import.phtml12
-rw-r--r--resources/views/admin/trees-preferences.phtml34
-rw-r--r--resources/views/admin/users-cleanup.phtml6
-rw-r--r--resources/views/admin/users-edit.phtml2
-rw-r--r--resources/views/calendar-list.phtml4
-rw-r--r--resources/views/components/select-number.phtml4
-rw-r--r--resources/views/edit/change-family-members.phtml12
-rw-r--r--resources/views/edit/reorder-families.phtml10
-rw-r--r--resources/views/expand-chart-box.phtml2
-rw-r--r--resources/views/family-page-menu.phtml6
-rw-r--r--resources/views/family-page.phtml8
-rw-r--r--resources/views/individual-page-images.phtml22
-rw-r--r--resources/views/individual-page-menu.phtml8
-rw-r--r--resources/views/individual-page-sidebars.phtml4
-rw-r--r--resources/views/individual-page-tabs.phtml4
-rw-r--r--resources/views/individual-page-title.phtml6
-rw-r--r--resources/views/individual-page.phtml20
-rw-r--r--resources/views/layouts/administration.phtml6
-rw-r--r--resources/views/lists/anniversaries-list.phtml8
-rw-r--r--resources/views/lists/anniversaries-table.phtml2
-rw-r--r--resources/views/lists/families-table.phtml4
-rw-r--r--resources/views/lists/individuals-table.phtml6
-rw-r--r--resources/views/lists/locations-table.phtml4
-rw-r--r--resources/views/lists/media-table.phtml4
-rw-r--r--resources/views/lists/notes-table.phtml4
-rw-r--r--resources/views/lists/repositories-table.phtml4
-rw-r--r--resources/views/lists/sources-table.phtml4
-rw-r--r--resources/views/lists/submitters-table.phtml4
-rw-r--r--resources/views/media-page-menu.phtml4
-rw-r--r--resources/views/modals/shares.phtml8
-rw-r--r--resources/views/modules/family-book-chart/children.phtml4
-rw-r--r--resources/views/modules/faq/config.phtml12
-rw-r--r--resources/views/modules/faq/show.phtml4
-rw-r--r--resources/views/modules/favorites/favorites.phtml10
-rw-r--r--resources/views/modules/gedcom_news/list.phtml8
-rw-r--r--resources/views/modules/hourglass-chart/children.phtml6
-rw-r--r--resources/views/modules/lightbox/tab.phtml2
-rw-r--r--resources/views/modules/location-list/page.phtml6
-rw-r--r--resources/views/modules/media-list/page.phtml30
-rw-r--r--resources/views/modules/media/tab.phtml8
-rw-r--r--resources/views/modules/note-list/page.phtml6
-rw-r--r--resources/views/modules/notes/tab.phtml8
-rw-r--r--resources/views/modules/pedigree-chart/chart-down.phtml12
-rw-r--r--resources/views/modules/pedigree-chart/chart-left.phtml12
-rw-r--r--resources/views/modules/pedigree-chart/chart-right.phtml12
-rw-r--r--resources/views/modules/pedigree-chart/chart.phtml10
-rw-r--r--resources/views/modules/personal_facts/tab.phtml14
-rw-r--r--resources/views/modules/place-hierarchy/events.phtml6
-rw-r--r--resources/views/modules/privacy-policy/page.phtml6
-rw-r--r--resources/views/modules/recent_changes/changes-list.phtml12
-rw-r--r--resources/views/modules/recent_changes/changes-table.phtml2
-rw-r--r--resources/views/modules/relationships-chart/config.phtml12
-rw-r--r--resources/views/modules/relatives/tab.phtml14
-rw-r--r--resources/views/modules/repository-list/page.phtml6
-rw-r--r--resources/views/modules/share-anniversary/share.phtml6
-rw-r--r--resources/views/modules/sitemap/config.phtml2
-rw-r--r--resources/views/modules/sitemap/sitemap-file-xml.phtml8
-rw-r--r--resources/views/modules/source-list/page.phtml6
-rw-r--r--resources/views/modules/sources_tab/tab.phtml8
-rw-r--r--resources/views/modules/stories/config.phtml8
-rw-r--r--resources/views/modules/stories/list.phtml4
-rw-r--r--resources/views/modules/submitter-list/page.phtml4
-rw-r--r--resources/views/modules/timeline-chart/chart.phtml3
-rw-r--r--resources/views/modules/timeline-chart/page.phtml16
-rw-r--r--resources/views/modules/todo/research-tasks.phtml6
-rw-r--r--resources/views/modules/user-messages/user-messages.phtml14
-rw-r--r--resources/views/modules/user_blog/list.phtml8
-rw-r--r--resources/views/modules/yahrzeit/list.phtml8
-rw-r--r--resources/views/modules/yahrzeit/table.phtml6
-rw-r--r--resources/views/note-page-details.phtml6
-rw-r--r--resources/views/note-page.phtml14
-rw-r--r--resources/views/record-page-links.phtml14
-rw-r--r--resources/views/record-page-menu-clipboard.phtml4
-rw-r--r--resources/views/record-page-menu.phtml4
-rw-r--r--resources/views/record-page.phtml16
-rw-r--r--resources/views/report-select-page.phtml4
-rw-r--r--resources/views/search-advanced-page.phtml16
-rw-r--r--resources/views/search-general-page.phtml42
-rw-r--r--resources/views/search-phonetic-page.phtml18
-rw-r--r--resources/views/search-results.phtml26
-rw-r--r--resources/views/search-trees.phtml4
-rw-r--r--resources/views/setup/step-1-language.phtml30
-rw-r--r--resources/views/setup/step-2-server-checks.phtml32
-rw-r--r--resources/views/setup/step-3-database-type.phtml28
-rw-r--r--resources/views/setup/step-4-database-mysql.phtml28
-rw-r--r--resources/views/setup/step-4-database-pgsql.phtml28
-rw-r--r--resources/views/setup/step-4-database-sqlite.phtml28
-rw-r--r--resources/views/setup/step-4-database-sqlsvr.phtml28
-rw-r--r--resources/views/setup/step-5-administrator.phtml28
-rw-r--r--resources/views/statistics/other/chart-distribution.phtml4
100 files changed, 596 insertions, 586 deletions
diff --git a/resources/views/admin/broadcast.phtml b/resources/views/admin/broadcast.phtml
index 1625814d9b..44e25076af 100644
--- a/resources/views/admin/broadcast.phtml
+++ b/resources/views/admin/broadcast.phtml
@@ -8,12 +8,12 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var string $body
- * @var UserInterface $from
- * @var string $subject
- * @var string $title
- * @var string $to
- * @var Collection<string> $to_names
+ * @var string $body
+ * @var UserInterface $from
+ * @var string $subject
+ * @var string $title
+ * @var string $to
+ * @var Collection<int,string> $to_names
*/
?>
diff --git a/resources/views/admin/components.phtml b/resources/views/admin/components.phtml
index cf48848d4c..00096fc173 100644
--- a/resources/views/admin/components.phtml
+++ b/resources/views/admin/components.phtml
@@ -16,9 +16,9 @@ use Illuminate\Support\Collection;
* @var array<string,array<string,string>> $access_summary
* @var string $description
* @var string $interface
- * @var Collection<ModuleInterface> $modules
+ * @var Collection<int,ModuleInterface> $modules
* @var string $title
- * @var Collection<Tree> $trees
+ * @var Collection<int,Tree> $trees
* @var bool $uses_access
* @var bool $uses_sorting
*/
diff --git a/resources/views/admin/control-panel.phtml b/resources/views/admin/control-panel.phtml
index ff20f79e0b..0e40e4e45b 100644
--- a/resources/views/admin/control-panel.phtml
+++ b/resources/views/admin/control-panel.phtml
@@ -22,8 +22,8 @@ use Fisharebest\Webtrees\Http\RequestHandlers\ModulesHistoricEventsPage;
use Fisharebest\Webtrees\Http\RequestHandlers\ModulesLanguagesPage;
use Fisharebest\Webtrees\Http\RequestHandlers\ModulesListsPage;
use Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapAutocompletePage;
-use Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapLinksPage;
use Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapGeoLocationsPage;
+use Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapLinksPage;
use Fisharebest\Webtrees\Http\RequestHandlers\ModulesMapProvidersPage;
use Fisharebest\Webtrees\Http\RequestHandlers\ModulesMenusPage;
use Fisharebest\Webtrees\Http\RequestHandlers\ModulesReportsPage;
@@ -36,8 +36,8 @@ use Fisharebest\Webtrees\Http\RequestHandlers\PhpInformation;
use Fisharebest\Webtrees\Http\RequestHandlers\SiteLogsPage;
use Fisharebest\Webtrees\Http\RequestHandlers\SitePreferencesPage;
use Fisharebest\Webtrees\Http\RequestHandlers\SiteRegistrationPage;
-use Fisharebest\Webtrees\Http\RequestHandlers\TreePageDefaultEdit;
use Fisharebest\Webtrees\Http\RequestHandlers\SiteTagsPage;
+use Fisharebest\Webtrees\Http\RequestHandlers\TreePageDefaultEdit;
use Fisharebest\Webtrees\Http\RequestHandlers\UpgradeWizardPage;
use Fisharebest\Webtrees\Http\RequestHandlers\UploadMediaPage;
use Fisharebest\Webtrees\Http\RequestHandlers\UserAddPage;
@@ -81,75 +81,75 @@ use Fisharebest\Webtrees\Webtrees;
use Illuminate\Support\Collection;
/**
- * @var Collection<User> $administrators
- * @var Collection<ModuleInterface> $all_modules_disabled
- * @var Collection<ModuleInterface> $all_modules_enabled
- * @var Collection<Tree> $all_trees
- * @var Collection<User> $all_users
- * @var Collection<ModuleAnalyticsInterface> $analytics_modules_disabled
- * @var Collection<ModuleAnalyticsInterface> $analytics_modules_enabled
- * @var Collection<ModuleBlockInterface> $block_modules_disabled
- * @var Collection<ModuleBlockInterface> $block_modules_enabled
- * @var array<string,int> $changes
- * @var Collection<ModuleChartInterface> $chart_modules_disabled
- * @var Collection<ModuleChartInterface> $chart_modules_enabled
- * @var Collection<ModuleCustomInterface> $custom_updates
- * @var Collection<ModuleCustomTagsInterface> $custom_tags_modules_disabled
- * @var Collection<ModuleCustomTagsInterface> $custom_tags_modules_enabled
- * @var Collection<ModuleDataFixInterface> $data_fix_modules_disabled
- * @var Collection<ModuleDataFixInterface> $data_fix_modules_enabled
- * @var Collection<string,int> $families
- * @var FamilyListModule|null $family_list_module
- * @var Collection<ModuleFooterInterface> $footer_modules_disabled
- * @var Collection<ModuleFooterInterface> $footer_modules_enabled
- * @var Collection<ModuleHistoricEventsInterface> $history_modules_disabled
- * @var Collection<ModuleHistoricEventsInterface> $history_modules_enabled
- * @var Collection<string,int> $individuals
- * @var IndividualListModule|null $individual_list_module
- * @var Collection<ModuleLanguageInterface> $language_modules_disabled
- * @var Collection<ModuleLanguageInterface> $language_modules_enabled
- * @var string $latest_version
- * @var Collection<ModuleListInterface> $list_modules_disabled
- * @var Collection<ModuleListInterface> $list_modules_enabled
- * @var Collection<ModuleMapLinkInterface> $map_link_modules_disabled
- * @var Collection<ModuleMapLinkInterface> $map_link_modules_enabled
- * @var Collection<ModuleMapAutocompleteInterface> $map_autocomplete_modules_disabled
- * @var Collection<ModuleMapAutocompleteInterface> $map_autocomplete_modules_enabled
- * @var Collection<ModuleMapProviderInterface> $map_provider_modules_disabled
- * @var Collection<ModuleMapProviderInterface> $map_provider_modules_enabled
- * @var Collection<ModuleMapGeoLocationInterface> $map_search_modules_disabled
- * @var Collection<ModuleMapGeoLocationInterface> $map_search_modules_enabled
- * @var Collection<User> $managers
- * @var Collection<string,int> $media
- * @var MediaListModule|null $media_list_module
- * @var Collection<ModuleMenuInterface> $menu_modules_disabled
- * @var Collection<ModuleMenuInterface> $menu_modules_enabled
- * @var Collection<User> $moderators
- * @var Collection<string,int> $notes
- * @var NoteListModule|null $note_list_module
- * @var Collection<ModuleInterface> $other_modules
- * @var Collection<ModuleReportInterface> $report_modules_disabled
- * @var Collection<ModuleReportInterface> $report_modules_enabled
- * @var Collection<string,int> $repositories
- * @var RepositoryListModule|null $repository_list_module
- * @var Collection<string> $server_errors
- * @var Collection<string> $server_warnings
- * @var bool $show_synchronize
- * @var Collection<ModuleShareInterface> $share_modules_disabled
- * @var Collection<ModuleShareInterface> $share_modules_enabled
- * @var Collection<ModuleSidebarInterface> $sidebar_modules_disabled
- * @var Collection<ModuleSidebarInterface> $sidebar_modules_enabled
- * @var Collection<string,int> $sources
- * @var SourceListModule|null $source_list_module
- * @var Collection<string,int> $submitters
- * @var SubmitterListModule|null $submitter_list_module
- * @var Collection<ModuleTabInterface> $tab_modules_disabled
- * @var Collection<ModuleTabInterface> $tab_modules_enabled
- * @var Collection<ModuleThemeInterface> $theme_modules_disabled
- * @var Collection<ModuleThemeInterface> $theme_modules_enabled
- * @var string $title
- * @var Collection<User> $unapproved
- * @var Collection<User> $unverified
+ * @var Collection<int,User> $administrators
+ * @var Collection<int,ModuleInterface> $all_modules_disabled
+ * @var Collection<int,ModuleInterface> $all_modules_enabled
+ * @var Collection<int,Tree> $all_trees
+ * @var Collection<int,User> $all_users
+ * @var Collection<int,ModuleAnalyticsInterface> $analytics_modules_disabled
+ * @var Collection<int,ModuleAnalyticsInterface> $analytics_modules_enabled
+ * @var Collection<int,ModuleBlockInterface> $block_modules_disabled
+ * @var Collection<int,ModuleBlockInterface> $block_modules_enabled
+ * @var array<string,int> $changes
+ * @var Collection<int,ModuleChartInterface> $chart_modules_disabled
+ * @var Collection<int,ModuleChartInterface> $chart_modules_enabled
+ * @var Collection<int,ModuleCustomInterface> $custom_updates
+ * @var Collection<int,ModuleCustomTagsInterface> $custom_tags_modules_disabled
+ * @var Collection<int,ModuleCustomTagsInterface> $custom_tags_modules_enabled
+ * @var Collection<int,ModuleDataFixInterface> $data_fix_modules_disabled
+ * @var Collection<int,ModuleDataFixInterface> $data_fix_modules_enabled
+ * @var Collection<array-key,int> $families
+ * @var FamilyListModule|null $family_list_module
+ * @var Collection<int,ModuleFooterInterface> $footer_modules_disabled
+ * @var Collection<int,ModuleFooterInterface> $footer_modules_enabled
+ * @var Collection<int,ModuleHistoricEventsInterface> $history_modules_disabled
+ * @var Collection<int,ModuleHistoricEventsInterface> $history_modules_enabled
+ * @var Collection<array-key,int> $individuals
+ * @var IndividualListModule|null $individual_list_module
+ * @var Collection<int,ModuleLanguageInterface> $language_modules_disabled
+ * @var Collection<int,ModuleLanguageInterface> $language_modules_enabled
+ * @var string $latest_version
+ * @var Collection<int,ModuleListInterface> $list_modules_disabled
+ * @var Collection<int,ModuleListInterface> $list_modules_enabled
+ * @var Collection<int,ModuleMapLinkInterface> $map_link_modules_disabled
+ * @var Collection<int,ModuleMapLinkInterface> $map_link_modules_enabled
+ * @var Collection<int,ModuleMapAutocompleteInterface> $map_autocomplete_modules_disabled
+ * @var Collection<int,ModuleMapAutocompleteInterface> $map_autocomplete_modules_enabled
+ * @var Collection<int,ModuleMapProviderInterface> $map_provider_modules_disabled
+ * @var Collection<int,ModuleMapProviderInterface> $map_provider_modules_enabled
+ * @var Collection<int,ModuleMapGeoLocationInterface> $map_search_modules_disabled
+ * @var Collection<int,ModuleMapGeoLocationInterface> $map_search_modules_enabled
+ * @var Collection<int,User> $managers
+ * @var Collection<array-key,int> $media
+ * @var MediaListModule|null $media_list_module
+ * @var Collection<int,ModuleMenuInterface> $menu_modules_disabled
+ * @var Collection<int,ModuleMenuInterface> $menu_modules_enabled
+ * @var Collection<int,User> $moderators
+ * @var Collection<array-key,int> $notes
+ * @var NoteListModule|null $note_list_module
+ * @var Collection<int,ModuleInterface> $other_modules
+ * @var Collection<int,ModuleReportInterface> $report_modules_disabled
+ * @var Collection<int,ModuleReportInterface> $report_modules_enabled
+ * @var Collection<array-key,int> $repositories
+ * @var RepositoryListModule|null $repository_list_module
+ * @var Collection<int,string> $server_errors
+ * @var Collection<int,string> $server_warnings
+ * @var bool $show_synchronize
+ * @var Collection<int,ModuleShareInterface> $share_modules_disabled
+ * @var Collection<int,ModuleShareInterface> $share_modules_enabled
+ * @var Collection<int,ModuleSidebarInterface> $sidebar_modules_disabled
+ * @var Collection<int,ModuleSidebarInterface> $sidebar_modules_enabled
+ * @var Collection<array-key,int> $sources
+ * @var SourceListModule|null $source_list_module
+ * @var Collection<array-key,int> $submitters
+ * @var SubmitterListModule|null $submitter_list_module
+ * @var Collection<int,ModuleTabInterface> $tab_modules_disabled
+ * @var Collection<int,ModuleTabInterface> $tab_modules_enabled
+ * @var Collection<int,ModuleThemeInterface> $theme_modules_disabled
+ * @var Collection<int,ModuleThemeInterface> $theme_modules_enabled
+ * @var string $title
+ * @var Collection<int,User> $unapproved
+ * @var Collection<int,User> $unverified
*/
?>
diff --git a/resources/views/admin/data-fix-select.phtml b/resources/views/admin/data-fix-select.phtml
index b52d1db478..1443b05c91 100644
--- a/resources/views/admin/data-fix-select.phtml
+++ b/resources/views/admin/data-fix-select.phtml
@@ -9,10 +9,10 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<ModuleDataFixInterface> $data_fixes
- * @var string $latest_version
- * @var string $title
- * @var Tree $tree
+ * @var Collection<int,ModuleDataFixInterface> $data_fixes
+ * @var string $latest_version
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/admin/gedcom-export-options.phtml b/resources/views/admin/gedcom-export-options.phtml
index 56b7d66bfc..2ba1f8d77a 100644
--- a/resources/views/admin/gedcom-export-options.phtml
+++ b/resources/views/admin/gedcom-export-options.phtml
@@ -6,6 +6,11 @@ use Fisharebest\Webtrees\Encodings\ASCII;
use Fisharebest\Webtrees\Encodings\UTF16BE;
use Fisharebest\Webtrees\Encodings\UTF8;
use Fisharebest\Webtrees\I18N;
+use Fisharebest\Webtrees\Tree;
+
+/**
+ * @var Tree $tree
+ */
?>
diff --git a/resources/views/admin/locations.phtml b/resources/views/admin/locations.phtml
index b1b8cd0b3f..0bf5af8ccf 100644
--- a/resources/views/admin/locations.phtml
+++ b/resources/views/admin/locations.phtml
@@ -15,7 +15,7 @@ use Illuminate\Support\Collection;
/**
* @var array<object> $active
- * @var Collection<Tree> $all_trees
+ * @var Collection<int,Tree> $all_trees
* @var array<string,string> $breadcrumbs
* @var int $parent_id
* @var array<object> $placelist
diff --git a/resources/views/admin/media-upload.phtml b/resources/views/admin/media-upload.phtml
index 049ddec388..39d78e7a4d 100644
--- a/resources/views/admin/media-upload.phtml
+++ b/resources/views/admin/media-upload.phtml
@@ -7,10 +7,10 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var string $filesize
- * @var int $max_upload_files
- * @var Collection<string,string> $media_folders
- * @var string $title
+ * @var string $filesize
+ * @var int $max_upload_files
+ * @var Collection<array-key,string> $media_folders
+ * @var string $title
*/
?>
diff --git a/resources/views/admin/media.phtml b/resources/views/admin/media.phtml
index 38df68bbe0..f45170dabc 100644
--- a/resources/views/admin/media.phtml
+++ b/resources/views/admin/media.phtml
@@ -8,13 +8,13 @@ use Fisharebest\Webtrees\View;
use Illuminate\Support\Collection;
/**
- * @var string $data_folder
- * @var string $files
- * @var string $media_folder
- * @var Collection<string> $media_folders
- * @var array<int|string,string> $media_types
- * @var string $subfolders
- * @var string $title
+ * @var string $data_folder
+ * @var string $files
+ * @var string $media_folder
+ * @var Collection<int,string> $media_folders
+ * @var array<string> $media_types
+ * @var string $subfolders
+ * @var string $title
*/
?>
diff --git a/resources/views/admin/modules.phtml b/resources/views/admin/modules.phtml
index 2fba32e374..9f1df3492d 100644
--- a/resources/views/admin/modules.phtml
+++ b/resources/views/admin/modules.phtml
@@ -24,9 +24,9 @@ use Fisharebest\Webtrees\View;
use Illuminate\Support\Collection;
/**
- * @var Collection<string> $deleted_modules
- * @var Collection<ModuleInterface> $modules
- * @var string $title
+ * @var Collection<int,string> $deleted_modules
+ * @var Collection<int,ModuleInterface> $modules
+ * @var string $title
*/
?>
diff --git a/resources/views/admin/site-logs.phtml b/resources/views/admin/site-logs.phtml
index 8310d0b2dd..b57bdc97d9 100644
--- a/resources/views/admin/site-logs.phtml
+++ b/resources/views/admin/site-logs.phtml
@@ -10,18 +10,18 @@ use Fisharebest\Webtrees\View;
use Illuminate\Support\Collection;
/**
- * @var string $earliest
- * @var string $from
- * @var string $ip
- * @var string $latest
- * @var string $title
- * @var string $to
- * @var string $text
- * @var string $tree
- * @var Collection<string,string> $tree_options
- * @var string $type
- * @var string $username
- * @var Collection<string,string> $user_options
+ * @var string $earliest
+ * @var string $from
+ * @var string $ip
+ * @var string $latest
+ * @var string $title
+ * @var string $to
+ * @var string $text
+ * @var string $tree
+ * @var Collection<array-key,string> $tree_options
+ * @var string $type
+ * @var string $username
+ * @var Collection<array-key,string> $user_options
*/
?>
diff --git a/resources/views/admin/trees-import.phtml b/resources/views/admin/trees-import.phtml
index 32b8dd36da..48b5d5a868 100644
--- a/resources/views/admin/trees-import.phtml
+++ b/resources/views/admin/trees-import.phtml
@@ -10,12 +10,12 @@ use Fisharebest\Webtrees\View;
use Illuminate\Support\Collection;
/**
- * @var string $data_folder
- * @var string $default_gedcom_file
- * @var Collection<string> $gedcom_files
- * @var string $gedcom_media_path
- * @var string $title
- * @var Tree $tree
+ * @var string $data_folder
+ * @var string $default_gedcom_file
+ * @var Collection<int,string> $gedcom_files
+ * @var string $gedcom_media_path
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/admin/trees-preferences.phtml b/resources/views/admin/trees-preferences.phtml
index d0f2d3a98f..dd62b57306 100644
--- a/resources/views/admin/trees-preferences.phtml
+++ b/resources/views/admin/trees-preferences.phtml
@@ -13,23 +13,23 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var array<string,string> $all_family_facts
- * @var array<string,string> $all_individual_facts
- * @var array<string,string> $all_surname_traditions
- * @var array<int,string> $calendar_formats
- * @var string $data_folder
- * @var array<int,string> $formats
- * @var Date $french_calendar_end
- * @var Date $french_calendar_start
- * @var Date $gregorian_calendar_start
- * @var Collection<UserInterface> $members
- * @var Individual|null $pedigree_individual
- * @var array<int,string> $privacy_options
- * @var array<int,string> $relatives_events
- * @var array<int,string> $source_types
- * @var array<string,string> $surname_list_styles
- * @var string $title
- * @var Tree $tree
+ * @var array<string,string> $all_family_facts
+ * @var array<string,string> $all_individual_facts
+ * @var array<string,string> $all_surname_traditions
+ * @var array<int,string> $calendar_formats
+ * @var string $data_folder
+ * @var array<int,string> $formats
+ * @var Date $french_calendar_end
+ * @var Date $french_calendar_start
+ * @var Date $gregorian_calendar_start
+ * @var Collection<int,UserInterface> $members
+ * @var Individual|null $pedigree_individual
+ * @var array<int,string> $privacy_options
+ * @var array<int,string> $relatives_events
+ * @var array<int,string> $source_types
+ * @var array<string,string> $surname_list_styles
+ * @var string $title
+ * @var Tree $tree
* @var int $tree_count
*/
diff --git a/resources/views/admin/users-cleanup.phtml b/resources/views/admin/users-cleanup.phtml
index 3fe49c1733..6fea68659d 100644
--- a/resources/views/admin/users-cleanup.phtml
+++ b/resources/views/admin/users-cleanup.phtml
@@ -10,9 +10,9 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var Collection<UserInterface> $inactive_users
- * @var string $title
- * @var Collection<UserInterface> $unverified_users
+ * @var Collection<int,UserInterface> $inactive_users
+ * @var string $title
+ * @var Collection<int,UserInterface> $unverified_users
*/
?>
diff --git a/resources/views/admin/users-edit.phtml b/resources/views/admin/users-edit.phtml
index cd49e37acc..78a3f84956 100644
--- a/resources/views/admin/users-edit.phtml
+++ b/resources/views/admin/users-edit.phtml
@@ -18,7 +18,7 @@ use Illuminate\Support\Collection;
* @var array<string,string> $roles
* @var array<string,string> $theme_options
* @var string $title
- * @var Collection<Tree> $trees
+ * @var Collection<int,Tree> $trees
* @var UserInterface $user
*/
diff --git a/resources/views/calendar-list.phtml b/resources/views/calendar-list.phtml
index c6e2187909..5675ef57c2 100644
--- a/resources/views/calendar-list.phtml
+++ b/resources/views/calendar-list.phtml
@@ -5,8 +5,8 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var Collection<Fact> $family_anniversaries
- * @var Collection<Fact> $individual_anniversaries
+ * @var Collection<int,Fact> $family_anniversaries
+ * @var Collection<int,Fact> $individual_anniversaries
*/
?>
diff --git a/resources/views/components/select-number.phtml b/resources/views/components/select-number.phtml
index dc58c75f76..65118dab21 100644
--- a/resources/views/components/select-number.phtml
+++ b/resources/views/components/select-number.phtml
@@ -1,5 +1,7 @@
<?php
+use Fisharebest\Webtrees\I18N;
+
/**
* @var string|null $class
* @var string|null $id
@@ -8,8 +10,6 @@
* @var array<string> $options
*/
-use Fisharebest\Webtrees\I18N;
-
?>
<select
diff --git a/resources/views/edit/change-family-members.phtml b/resources/views/edit/change-family-members.phtml
index 07ea3a500e..8f69fd556f 100644
--- a/resources/views/edit/change-family-members.phtml
+++ b/resources/views/edit/change-family-members.phtml
@@ -8,12 +8,12 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Individual> $children
- * @var Family $family
- * @var Individual|null $father
- * @var Individual|null $mother
- * @var string $title
- * @var Tree $tree
+ * @var Collection<int,Individual> $children
+ * @var Family $family
+ * @var Individual|null $father
+ * @var Individual|null $mother
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/edit/reorder-families.phtml b/resources/views/edit/reorder-families.phtml
index 245fd830bd..6546bc7962 100644
--- a/resources/views/edit/reorder-families.phtml
+++ b/resources/views/edit/reorder-families.phtml
@@ -11,11 +11,11 @@ use Fisharebest\Webtrees\View;
use Illuminate\Support\Collection;
/**
- * @var Collection<Fact> $famc_facts
- * @var Collection<Fact> $fams_facts
- * @var Individual $individual
- * @var string $title
- * @var Tree $tree
+ * @var Collection<int,Fact> $famc_facts
+ * @var Collection<int,Fact> $fams_facts
+ * @var Individual $individual
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/expand-chart-box.phtml b/resources/views/expand-chart-box.phtml
index 4d8cac5f52..2cccc8bd2d 100644
--- a/resources/views/expand-chart-box.phtml
+++ b/resources/views/expand-chart-box.phtml
@@ -4,7 +4,7 @@ use Fisharebest\Webtrees\Fact;
use Illuminate\Support\Collection;
/**
- * @var Collection<Fact> $facts
+ * @var Collection<int,Fact> $facts
*/
?>
diff --git a/resources/views/family-page-menu.phtml b/resources/views/family-page-menu.phtml
index f5f7abf7ce..d7ec852ae8 100644
--- a/resources/views/family-page-menu.phtml
+++ b/resources/views/family-page-menu.phtml
@@ -14,9 +14,9 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var bool $can_upload_media
- * @var Collection<Fact> $clipboard_facts
- * @var Family $record
+ * @var bool $can_upload_media
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var Family $record
*/
?>
diff --git a/resources/views/family-page.phtml b/resources/views/family-page.phtml
index b2b18df9ec..5807fdaf55 100644
--- a/resources/views/family-page.phtml
+++ b/resources/views/family-page.phtml
@@ -6,10 +6,10 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var bool $can_upload_media
- * @var Collection<Fact> $clipboard_facts
- * @var Collection<Fact> $facts
- * @var Family $record
+ * @var bool $can_upload_media
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var Collection<int,Fact> $facts
+ * @var Family $record
*/
?>
diff --git a/resources/views/individual-page-images.phtml b/resources/views/individual-page-images.phtml
index e641ef4a65..63877c906f 100644
--- a/resources/views/individual-page-images.phtml
+++ b/resources/views/individual-page-images.phtml
@@ -11,17 +11,17 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var string $age
- * @var bool $can_upload_media
- * @var Collection<Media> $individual_media
- * @var Collection<Fact> $name_records
- * @var Individual $record
- * @var Collection<Fact> $sex_records
- * @var Collection<string> $shares
- * @var Collection<ModuleSidebarInterface> $sidebars
- * @var Collection<ModuleTabInterface> $tabs
- * @var Tree $tree
- * @var string $user_link
+ * @var string $age
+ * @var bool $can_upload_media
+ * @var Collection<int,Media> $individual_media
+ * @var Collection<int,Fact> $name_records
+ * @var Individual $record
+ * @var Collection<int,Fact> $sex_records
+ * @var Collection<int,string> $shares
+ * @var Collection<int,ModuleSidebarInterface> $sidebars
+ * @var Collection<int,ModuleTabInterface> $tabs
+ * @var Tree $tree
+ * @var string $user_link
*/
?>
diff --git a/resources/views/individual-page-menu.phtml b/resources/views/individual-page-menu.phtml
index 0fccec5e91..cb6e7fc4d1 100644
--- a/resources/views/individual-page-menu.phtml
+++ b/resources/views/individual-page-menu.phtml
@@ -14,10 +14,10 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var bool $can_upload_media
- * @var Collection<Fact> $clipboard_facts
- * @var Individual $record
- * @var Collection<string> $shares
+ * @var bool $can_upload_media
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var Individual $record
+ * @var Collection<int,string> $shares
*/
?>
diff --git a/resources/views/individual-page-sidebars.phtml b/resources/views/individual-page-sidebars.phtml
index 9ed851d1f3..0a5bcaa7b3 100644
--- a/resources/views/individual-page-sidebars.phtml
+++ b/resources/views/individual-page-sidebars.phtml
@@ -5,8 +5,8 @@ use Fisharebest\Webtrees\Module\ModuleSidebarInterface;
use Illuminate\Support\Collection;
/**
- * @var Individual $record
- * @var Collection<ModuleSidebarInterface> $sidebars
+ * @var Individual $record
+ * @var Collection<int,ModuleSidebarInterface> $sidebars
*/
?>
diff --git a/resources/views/individual-page-tabs.phtml b/resources/views/individual-page-tabs.phtml
index 238f69d4c5..a99a6790de 100644
--- a/resources/views/individual-page-tabs.phtml
+++ b/resources/views/individual-page-tabs.phtml
@@ -6,8 +6,8 @@ use Fisharebest\Webtrees\View;
use Illuminate\Support\Collection;
/**
- * @var Individual $record
- * @var Collection<ModuleTabInterface> $tabs
+ * @var Individual $record
+ * @var Collection<int,ModuleTabInterface> $tabs
*/
?>
diff --git a/resources/views/individual-page-title.phtml b/resources/views/individual-page-title.phtml
index efbbf4e614..e3323765e0 100644
--- a/resources/views/individual-page-title.phtml
+++ b/resources/views/individual-page-title.phtml
@@ -6,9 +6,9 @@ use Fisharebest\Webtrees\User;
use Illuminate\Support\Collection;
/**
- * @var string $age
- * @var Individual $record
- * @var Collection<User> $users
+ * @var string $age
+ * @var Individual $record
+ * @var Collection<int,User> $users
*/
?>
diff --git a/resources/views/individual-page.phtml b/resources/views/individual-page.phtml
index 0e0255169e..be70cadf30 100644
--- a/resources/views/individual-page.phtml
+++ b/resources/views/individual-page.phtml
@@ -11,16 +11,16 @@ use Fisharebest\Webtrees\User;
use Illuminate\Support\Collection;
/**
- * @var string $age
- * @var bool $can_upload_media
- * @var Collection<Fact> $clipboard_facts
- * @var Collection<Media> $individual_media
- * @var Individual $record
- * @var Collection<string> $shares
- * @var Collection<ModuleSidebarInterface> $sidebars
- * @var Collection<ModuleTabInterface> $tabs
- * @var Tree $tree
- * @var Collection<User> $users
+ * @var string $age
+ * @var bool $can_upload_media
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var Collection<int,Media> $individual_media
+ * @var Individual $record
+ * @var Collection<int,string> $shares
+ * @var Collection<int,ModuleSidebarInterface> $sidebars
+ * @var Collection<int,ModuleTabInterface> $tabs
+ * @var Tree $tree
+ * @var Collection<int,User> $users
*/
?>
diff --git a/resources/views/layouts/administration.phtml b/resources/views/layouts/administration.phtml
index 9e1602042f..b031e58aa9 100644
--- a/resources/views/layouts/administration.phtml
+++ b/resources/views/layouts/administration.phtml
@@ -11,8 +11,10 @@ use Fisharebest\Webtrees\Module\ModuleGlobalInterface;
use Fisharebest\Webtrees\Services\ModuleService;
use Fisharebest\Webtrees\View;
-/** @var string $title */
-/** @var string $content */
+/**
+ * @var string $title
+ * @var string $content
+ */
?>
diff --git a/resources/views/lists/anniversaries-list.phtml b/resources/views/lists/anniversaries-list.phtml
index 10a274c890..c0fce7ce2c 100644
--- a/resources/views/lists/anniversaries-list.phtml
+++ b/resources/views/lists/anniversaries-list.phtml
@@ -8,10 +8,10 @@ use Fisharebest\Webtrees\View;
use Illuminate\Support\Collection;
/**
- * @var Collection<Fact> $facts
- * @var int $id
- * @var int $limit_low
- * @var int $limit_high
+ * @var Collection<int,Fact> $facts
+ * @var int $id
+ * @var int $limit_low
+ * @var int $limit_high
*/
?>
diff --git a/resources/views/lists/anniversaries-table.phtml b/resources/views/lists/anniversaries-table.phtml
index 956667bfc5..f1a1b7bbe7 100644
--- a/resources/views/lists/anniversaries-table.phtml
+++ b/resources/views/lists/anniversaries-table.phtml
@@ -7,7 +7,7 @@ use Fisharebest\Webtrees\View;
use Illuminate\Support\Collection;
/**
- * @var Collection<Fact> $facts
+ * @var Collection<int,Fact> $facts
* @var int $limit_high
* @var int $limit_low
* @var array<array<int,string>> $order
diff --git a/resources/views/lists/families-table.phtml b/resources/views/lists/families-table.phtml
index 195568b261..4dad3b20ff 100644
--- a/resources/views/lists/families-table.phtml
+++ b/resources/views/lists/families-table.phtml
@@ -21,8 +21,8 @@ $today_jd = Carbon::now()->julianDay();
$hundred_years_ago = Carbon::now()->subYears(100)->julianDay();
/**
- * @var Tree $tree
- * @var Collection<Family> $families
+ * @var Tree $tree
+ * @var Collection<int,Family> $families
*/
?>
diff --git a/resources/views/lists/individuals-table.phtml b/resources/views/lists/individuals-table.phtml
index 549d1208f1..b121bc3fea 100644
--- a/resources/views/lists/individuals-table.phtml
+++ b/resources/views/lists/individuals-table.phtml
@@ -18,9 +18,9 @@ use Illuminate\Support\Collection;
use Ramsey\Uuid\Uuid;
/**
- * @var Collection<Individual> $individuals
- * @var bool $sosa
- * @var Tree $tree
+ * @var Collection<int,Individual> $individuals
+ * @var bool $sosa
+ * @var Tree $tree
*/
// lists requires a unique ID in case there are multiple lists per page
diff --git a/resources/views/lists/locations-table.phtml b/resources/views/lists/locations-table.phtml
index 31e419db24..13c6bb6b96 100644
--- a/resources/views/lists/locations-table.phtml
+++ b/resources/views/lists/locations-table.phtml
@@ -9,8 +9,8 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
- * @var Collection<Location> $locations
- * @var Tree $tree
+ * @var Collection<int,Location> $locations
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/lists/media-table.phtml b/resources/views/lists/media-table.phtml
index a75dc94e82..a44f9f55cb 100644
--- a/resources/views/lists/media-table.phtml
+++ b/resources/views/lists/media-table.phtml
@@ -9,8 +9,8 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
- * @var Collection<Media> $media_objects
- * @var Tree $tree
+ * @var Collection<int,Media> $media_objects
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/lists/notes-table.phtml b/resources/views/lists/notes-table.phtml
index aa0ec0dcb1..75a64d5a86 100644
--- a/resources/views/lists/notes-table.phtml
+++ b/resources/views/lists/notes-table.phtml
@@ -9,8 +9,8 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
- * @var Collection<Note> $notes
- * @var Tree $tree
+ * @var Collection<int,Note> $notes
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/lists/repositories-table.phtml b/resources/views/lists/repositories-table.phtml
index 032a9af06e..5fa61234ed 100644
--- a/resources/views/lists/repositories-table.phtml
+++ b/resources/views/lists/repositories-table.phtml
@@ -9,8 +9,8 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
- * @var Collection<Repository> $repositories
- * @var Tree $tree
+ * @var Collection<int,Repository> $repositories
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/lists/sources-table.phtml b/resources/views/lists/sources-table.phtml
index 2352d3647e..24f1613e57 100644
--- a/resources/views/lists/sources-table.phtml
+++ b/resources/views/lists/sources-table.phtml
@@ -10,8 +10,8 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
- * @var Collection<Source> $sources
- * @var Tree $tree
+ * @var Collection<int,Source> $sources
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/lists/submitters-table.phtml b/resources/views/lists/submitters-table.phtml
index 61bb431005..869a2bbf99 100644
--- a/resources/views/lists/submitters-table.phtml
+++ b/resources/views/lists/submitters-table.phtml
@@ -9,8 +9,8 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
- * @var Collection<Submitter> $submitters
- * @var Tree $tree
+ * @var Collection<int,Submitter> $submitters
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/media-page-menu.phtml b/resources/views/media-page-menu.phtml
index e87b2511a6..7a24e5b7cc 100644
--- a/resources/views/media-page-menu.phtml
+++ b/resources/views/media-page-menu.phtml
@@ -12,8 +12,8 @@ use Fisharebest\Webtrees\Media;
use Illuminate\Support\Collection;
/**
- * @var Collection<Fact> $clipboard_facts
- * @var Media $record
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var Media $record
*/
?>
diff --git a/resources/views/modals/shares.phtml b/resources/views/modals/shares.phtml
index a42cd86503..9a52d5a98b 100644
--- a/resources/views/modals/shares.phtml
+++ b/resources/views/modals/shares.phtml
@@ -1,12 +1,12 @@
<?php
+use Illuminate\Support\Collection;
+
/**
- * @var Collection<string> $shares
- * @var string $title
+ * @var Collection<int,string> $shares
+ * @var string $title
*/
-use Illuminate\Support\Collection;
-
?>
<div class="modal fade" id="wt-shares-modal" tabindex="-1" role="dialog" aria-label="<?= e($title) ?>" aria-hidden="true">
<div class="modal-dialog modal-lg" role="document">
diff --git a/resources/views/modules/family-book-chart/children.phtml b/resources/views/modules/family-book-chart/children.phtml
index 12e4841320..999e95367c 100644
--- a/resources/views/modules/family-book-chart/children.phtml
+++ b/resources/views/modules/family-book-chart/children.phtml
@@ -5,8 +5,8 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var Collection<Individual> $children
- * @var int $generations
+ * @var Collection<int,Individual> $children
+ * @var int $generations
*/
?>
diff --git a/resources/views/modules/faq/config.phtml b/resources/views/modules/faq/config.phtml
index 943d757094..5a2c7daf97 100644
--- a/resources/views/modules/faq/config.phtml
+++ b/resources/views/modules/faq/config.phtml
@@ -7,12 +7,12 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<object> $faqs
- * @var string $max_block_order
- * @var string $min_block_order
- * @var string $title
- * @var Tree $tree
- * @var array<string,string> $tree_names
+ * @var Collection<int,object> $faqs
+ * @var string $max_block_order
+ * @var string $min_block_order
+ * @var string $title
+ * @var Tree $tree
+ * @var array<string,string> $tree_names
*/
?>
diff --git a/resources/views/modules/faq/show.phtml b/resources/views/modules/faq/show.phtml
index 18ecf30119..137d3a12b4 100644
--- a/resources/views/modules/faq/show.phtml
+++ b/resources/views/modules/faq/show.phtml
@@ -4,8 +4,8 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var Collection<object> $faqs
- * @var string $title
+ * @var Collection<int,object> $faqs
+ * @var string $title
*/
?>
diff --git a/resources/views/modules/favorites/favorites.phtml b/resources/views/modules/favorites/favorites.phtml
index f3f2c07732..5c10cde2ad 100644
--- a/resources/views/modules/favorites/favorites.phtml
+++ b/resources/views/modules/favorites/favorites.phtml
@@ -6,11 +6,11 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var int $block_id
- * @var bool $can_edit
- * @var Collection<object> $favorites
- * @var string $module_name
- * @var Tree $tree
+ * @var int $block_id
+ * @var bool $can_edit
+ * @var Collection<int,object> $favorites
+ * @var string $module_name
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/gedcom_news/list.phtml b/resources/views/modules/gedcom_news/list.phtml
index f897382d55..5d762693f7 100644
--- a/resources/views/modules/gedcom_news/list.phtml
+++ b/resources/views/modules/gedcom_news/list.phtml
@@ -6,10 +6,10 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<object> $articles
- * @var int $block_id
- * @var int $limit
- * @var Tree $tree
+ * @var Collection<int,object> $articles
+ * @var int $block_id
+ * @var int $limit
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/hourglass-chart/children.phtml b/resources/views/modules/hourglass-chart/children.phtml
index 64e5929905..9d10abedac 100644
--- a/resources/views/modules/hourglass-chart/children.phtml
+++ b/resources/views/modules/hourglass-chart/children.phtml
@@ -5,9 +5,9 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var Collection<Individual> $children
- * @var int $generations
- * @var bool $spouses
+ * @var Collection<int,Individual> $children
+ * @var int $generations
+ * @var bool $spouses
*/
?>
diff --git a/resources/views/modules/lightbox/tab.phtml b/resources/views/modules/lightbox/tab.phtml
index 593e23ca7e..819bcd86dc 100644
--- a/resources/views/modules/lightbox/tab.phtml
+++ b/resources/views/modules/lightbox/tab.phtml
@@ -4,7 +4,7 @@ use Fisharebest\Webtrees\Media;
use Illuminate\Support\Collection;
/**
- * @var Collection<Media> $media_list
+ * @var Collection<int,Media> $media_list
*/
?>
diff --git a/resources/views/modules/location-list/page.phtml b/resources/views/modules/location-list/page.phtml
index 60fba39002..908ff6076e 100644
--- a/resources/views/modules/location-list/page.phtml
+++ b/resources/views/modules/location-list/page.phtml
@@ -5,9 +5,9 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Location> $locations
- * @var string $title
- * @var Tree $tree
+ * @var Collection<int,Location> $locations
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/media-list/page.phtml b/resources/views/modules/media-list/page.phtml
index 522082f12a..f743723694 100644
--- a/resources/views/modules/media-list/page.phtml
+++ b/resources/views/modules/media-list/page.phtml
@@ -11,21 +11,21 @@ use Illuminate\Support\Collection;
use League\Flysystem\FilesystemOperator;
/**
- * @var int $count
- * @var FilesystemOperator $data_filesystem
- * @var string $filter
- * @var string $folder
- * @var array<string> $folders
- * @var string $format
- * @var array<string> $formats
- * @var int $max
- * @var Collection<Media> $media_objects
- * @var ModuleListInterface $module
- * @var int $page
- * @var int $pages
- * @var string $subdirs
- * @var string $title
- * @var Tree $tree
+ * @var int $count
+ * @var FilesystemOperator $data_filesystem
+ * @var string $filter
+ * @var string $folder
+ * @var array<string> $folders
+ * @var string $format
+ * @var array<string> $formats
+ * @var int $max
+ * @var Collection<int,Media> $media_objects
+ * @var ModuleListInterface $module
+ * @var int $page
+ * @var int $pages
+ * @var string $subdirs
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/media/tab.phtml b/resources/views/modules/media/tab.phtml
index 479c51d78d..03bdaa82b9 100644
--- a/resources/views/modules/media/tab.phtml
+++ b/resources/views/modules/media/tab.phtml
@@ -6,10 +6,10 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var bool $can_edit
- * @var Collection<Fact> $clipboard_facts
- * @var Collection<Fact> $facts
- * @var Individual $individual
+ * @var bool $can_edit
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var Collection<int,Fact> $facts
+ * @var Individual $individual
*/
?>
diff --git a/resources/views/modules/note-list/page.phtml b/resources/views/modules/note-list/page.phtml
index d446963960..24dea84f8b 100644
--- a/resources/views/modules/note-list/page.phtml
+++ b/resources/views/modules/note-list/page.phtml
@@ -5,9 +5,9 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Note> $notes
- * @var string $title
- * @var Tree $tree
+ * @var Collection<int,Note> $notes
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/notes/tab.phtml b/resources/views/modules/notes/tab.phtml
index 22d559f6d5..232175ff8e 100644
--- a/resources/views/modules/notes/tab.phtml
+++ b/resources/views/modules/notes/tab.phtml
@@ -11,10 +11,10 @@ use Fisharebest\Webtrees\Registry;
use Illuminate\Support\Collection;
/**
- * @var bool $can_edit
- * @var Collection<Fact> $clipboard_facts
- * @var Collection<Fact> $facts
- * @var Individual $individual
+ * @var bool $can_edit
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var Collection<int,Fact> $facts
+ * @var Individual $individual
*/
?>
diff --git a/resources/views/modules/pedigree-chart/chart-down.phtml b/resources/views/modules/pedigree-chart/chart-down.phtml
index 4827eed8c0..59b850d5c3 100644
--- a/resources/views/modules/pedigree-chart/chart-down.phtml
+++ b/resources/views/modules/pedigree-chart/chart-down.phtml
@@ -4,12 +4,12 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var Collection<Individual> $ancestors Indexed by sosa number
- * @var int $generation Draw this generation
- * @var int $generations Final generation to draw
- * @var Collection<string> $links Links to extend the tree
- * @var int $sosa Draw this individual
- * @var string $spacer
+ * @var Collection<int,Individual> $ancestors Indexed by sosa number
+ * @var int $generation Draw this generation
+ * @var int $generations Final generation to draw
+ * @var Collection<int,string> $links Links to extend the tree
+ * @var int $sosa Draw this individual
+ * @var string $spacer
*/
?>
diff --git a/resources/views/modules/pedigree-chart/chart-left.phtml b/resources/views/modules/pedigree-chart/chart-left.phtml
index d325b0be55..b820d9f201 100644
--- a/resources/views/modules/pedigree-chart/chart-left.phtml
+++ b/resources/views/modules/pedigree-chart/chart-left.phtml
@@ -4,12 +4,12 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var Collection<Individual> $ancestors Indexed by sosa number
- * @var int $generation Draw this generation
- * @var int $generations Final generation to draw
- * @var Collection<string> $links Links to extend the tree
- * @var int $sosa Draw this individual
- * @var string $spacer
+ * @var Collection<int,Individual> $ancestors Indexed by sosa number
+ * @var int $generation Draw this generation
+ * @var int $generations Final generation to draw
+ * @var Collection<int,string> $links Links to extend the tree
+ * @var int $sosa Draw this individual
+ * @var string $spacer
*/
?>
diff --git a/resources/views/modules/pedigree-chart/chart-right.phtml b/resources/views/modules/pedigree-chart/chart-right.phtml
index 9d8f712724..f5789b068e 100644
--- a/resources/views/modules/pedigree-chart/chart-right.phtml
+++ b/resources/views/modules/pedigree-chart/chart-right.phtml
@@ -4,12 +4,12 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var Collection<Individual> $ancestors Indexed by sosa number
- * @var int $generation Draw this generation
- * @var int $generations Final generation to draw
- * @var Collection<string> $links Links to extend the tree
- * @var int $sosa Draw this individual
- * @var string $spacer
+ * @var Collection<int,Individual> $ancestors Indexed by sosa number
+ * @var int $generation Draw this generation
+ * @var int $generations Final generation to draw
+ * @var Collection<int,string> $links Links to extend the tree
+ * @var int $sosa Draw this individual
+ * @var string $spacer
*/
?>
diff --git a/resources/views/modules/pedigree-chart/chart.phtml b/resources/views/modules/pedigree-chart/chart.phtml
index 0b61b9f916..20a0763386 100644
--- a/resources/views/modules/pedigree-chart/chart.phtml
+++ b/resources/views/modules/pedigree-chart/chart.phtml
@@ -4,11 +4,11 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var Collection<Individual> $ancestors
- * @var int $generations
- * @var Collection<string> $links
- * @var string $spacer
- * @var string $style
+ * @var Collection<int,Individual> $ancestors
+ * @var int $generations
+ * @var Collection<int,string> $links
+ * @var string $spacer
+ * @var string $style
*/
?>
diff --git a/resources/views/modules/personal_facts/tab.phtml b/resources/views/modules/personal_facts/tab.phtml
index 8768028d1f..e765e52c01 100644
--- a/resources/views/modules/personal_facts/tab.phtml
+++ b/resources/views/modules/personal_facts/tab.phtml
@@ -6,13 +6,13 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var bool $can_edit
- * @var Collection<Fact> $clipboard_facts
- * @var Collection<Fact> $facts
- * @var bool $has_associate_facts
- * @var bool $has_historic_facts
- * @var bool $has_relative_facts
- * @var Individual $individual
+ * @var bool $can_edit
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var Collection<int,Fact> $facts
+ * @var bool $has_associate_facts
+ * @var bool $has_historic_facts
+ * @var bool $has_relative_facts
+ * @var Individual $individual
*/
?>
diff --git a/resources/views/modules/place-hierarchy/events.phtml b/resources/views/modules/place-hierarchy/events.phtml
index c69eb19234..fe49c2de7a 100644
--- a/resources/views/modules/place-hierarchy/events.phtml
+++ b/resources/views/modules/place-hierarchy/events.phtml
@@ -7,9 +7,9 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Family> $famlist
- * @var Collection<Individual> $indilist
- * @var Tree $tree
+ * @var Collection<int,Family> $famlist
+ * @var Collection<int,Individual> $indilist
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/privacy-policy/page.phtml b/resources/views/modules/privacy-policy/page.phtml
index bfa62632d8..0d5b3b9a2b 100644
--- a/resources/views/modules/privacy-policy/page.phtml
+++ b/resources/views/modules/privacy-policy/page.phtml
@@ -6,9 +6,9 @@ use Fisharebest\Webtrees\Module\ModuleAnalyticsInterface;
use Illuminate\Support\Collection;
/**
- * @var Collection<UserInterface> $administrators
- * @var Collection<ModuleAnalyticsInterface> $analytics
- * @var string $title
+ * @var Collection<int,UserInterface> $administrators
+ * @var Collection<int,ModuleAnalyticsInterface> $analytics
+ * @var string $title
*/
?>
diff --git a/resources/views/modules/recent_changes/changes-list.phtml b/resources/views/modules/recent_changes/changes-list.phtml
index ab921e28c2..7f397bc489 100644
--- a/resources/views/modules/recent_changes/changes-list.phtml
+++ b/resources/views/modules/recent_changes/changes-list.phtml
@@ -5,12 +5,12 @@ use Fisharebest\Webtrees\View;
use Illuminate\Support\Collection;
/**
- * @var int $id
- * @var int $limit_low
- * @var int $limit_high
- * @var Collection<object> $rows
- * @var bool $show_date
- * @var bool $show_user
+ * @var int $id
+ * @var int $limit_low
+ * @var int $limit_high
+ * @var Collection<int,object> $rows
+ * @var bool $show_date
+ * @var bool $show_user
*/
?>
diff --git a/resources/views/modules/recent_changes/changes-table.phtml b/resources/views/modules/recent_changes/changes-table.phtml
index ab048d29b0..66c81593f6 100644
--- a/resources/views/modules/recent_changes/changes-table.phtml
+++ b/resources/views/modules/recent_changes/changes-table.phtml
@@ -15,7 +15,7 @@ use Illuminate\Support\Collection;
* @var int $limit_high
* @var int $limit_low
* @var array<array<int,string>> $order
- * @var Collection<object> $rows
+ * @var Collection<int,object> $rows
* @var bool $show_date
* @var bool $show_user
*/
diff --git a/resources/views/modules/relationships-chart/config.phtml b/resources/views/modules/relationships-chart/config.phtml
index b7be878525..f911c88de6 100644
--- a/resources/views/modules/relationships-chart/config.phtml
+++ b/resources/views/modules/relationships-chart/config.phtml
@@ -7,12 +7,12 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Tree> $all_trees
- * @var array<int,string> $ancestors_options
- * @var string $default_ancestors
- * @var string $default_recursion
- * @var array<int,string> $recursion_options
- * @var string $title
+ * @var Collection<int,Tree> $all_trees
+ * @var array<int,string> $ancestors_options
+ * @var string $default_ancestors
+ * @var string $default_recursion
+ * @var array<int,string> $recursion_options
+ * @var string $title
*/
?>
diff --git a/resources/views/modules/relatives/tab.phtml b/resources/views/modules/relatives/tab.phtml
index 4eb17b0149..3e0e952bda 100644
--- a/resources/views/modules/relatives/tab.phtml
+++ b/resources/views/modules/relatives/tab.phtml
@@ -12,13 +12,13 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var bool $can_edit
- * @var int $fam_access_level
- * @var Individual $individual
- * @var Collection<Family> $parent_families
- * @var Collection<Family> $spouse_families
- * @var Collection<Family> $step_child_families
- * @var Collection<Family> $step_parent_families
+ * @var bool $can_edit
+ * @var int $fam_access_level
+ * @var Individual $individual
+ * @var Collection<int,Family> $parent_families
+ * @var Collection<int,Family> $spouse_families
+ * @var Collection<int,Family> $step_child_families
+ * @var Collection<int,Family> $step_parent_families
*/
?>
diff --git a/resources/views/modules/repository-list/page.phtml b/resources/views/modules/repository-list/page.phtml
index e28aa413a9..40375f4ed9 100644
--- a/resources/views/modules/repository-list/page.phtml
+++ b/resources/views/modules/repository-list/page.phtml
@@ -5,9 +5,9 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Repository> $repositories
- * @var string $title
- * @var Tree $tree
+ * @var Collection<int,Repository> $repositories
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/share-anniversary/share.phtml b/resources/views/modules/share-anniversary/share.phtml
index 7ed2e5df1b..9de39c7940 100644
--- a/resources/views/modules/share-anniversary/share.phtml
+++ b/resources/views/modules/share-anniversary/share.phtml
@@ -6,9 +6,9 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var Collection<Fact> $facts
- * @var Individual $record
- * @var string $url
+ * @var Collection<int,Fact> $facts
+ * @var Individual $record
+ * @var string $url
*/
?>
diff --git a/resources/views/modules/sitemap/config.phtml b/resources/views/modules/sitemap/config.phtml
index 6b39edfd42..1fb5d6c3f5 100644
--- a/resources/views/modules/sitemap/config.phtml
+++ b/resources/views/modules/sitemap/config.phtml
@@ -7,7 +7,7 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Tree> $all_trees
+ * @var Collection<int,Tree> $all_trees
* @var string $sitemap_url
* @var array<string,string> $submit_urls
* @var string $title
diff --git a/resources/views/modules/sitemap/sitemap-file-xml.phtml b/resources/views/modules/sitemap/sitemap-file-xml.phtml
index 8edc4bb58f..3ed7500040 100644
--- a/resources/views/modules/sitemap/sitemap-file-xml.phtml
+++ b/resources/views/modules/sitemap/sitemap-file-xml.phtml
@@ -8,10 +8,10 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var float $priority
- * @var Collection<GedcomRecord> $records
- * @var string $sitemap_xsl
- * @var Tree $tree
+ * @var float $priority
+ * @var Collection<int,GedcomRecord> $records
+ * @var string $sitemap_xsl
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/source-list/page.phtml b/resources/views/modules/source-list/page.phtml
index 70fa0d7113..1d927018b4 100644
--- a/resources/views/modules/source-list/page.phtml
+++ b/resources/views/modules/source-list/page.phtml
@@ -5,9 +5,9 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Source> $sources
- * @var string $title
- * @var Tree $tree
+ * @var Collection<int,Source> $sources
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/sources_tab/tab.phtml b/resources/views/modules/sources_tab/tab.phtml
index 99604f8eb9..d5362e2c37 100644
--- a/resources/views/modules/sources_tab/tab.phtml
+++ b/resources/views/modules/sources_tab/tab.phtml
@@ -7,10 +7,10 @@ use Fisharebest\Webtrees\Individual;
use Illuminate\Support\Collection;
/**
- * @var bool $can_edit
- * @var Collection<Fact> $clipboard_facts
- * @var Collection<Fact> $facts
- * @var Individual $individual
+ * @var bool $can_edit
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var Collection<int,Fact> $facts
+ * @var Individual $individual
*/
?>
diff --git a/resources/views/modules/stories/config.phtml b/resources/views/modules/stories/config.phtml
index b84ce59e10..c278bd73b6 100644
--- a/resources/views/modules/stories/config.phtml
+++ b/resources/views/modules/stories/config.phtml
@@ -7,10 +7,10 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<object> $stories
- * @var string $title
- * @var Tree $tree
- * @var array<string> $tree_names
+ * @var Collection<int,object> $stories
+ * @var string $title
+ * @var Tree $tree
+ * @var array<string> $tree_names
*/
?>
diff --git a/resources/views/modules/stories/list.phtml b/resources/views/modules/stories/list.phtml
index 3341bb26ef..41b90f2329 100644
--- a/resources/views/modules/stories/list.phtml
+++ b/resources/views/modules/stories/list.phtml
@@ -4,8 +4,8 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var Collection<object> $stories
- * @var string $title
+ * @var Collection<int,object> $stories
+ * @var string $title
*/
?>
diff --git a/resources/views/modules/submitter-list/page.phtml b/resources/views/modules/submitter-list/page.phtml
index 505a0f96dc..8915c95363 100644
--- a/resources/views/modules/submitter-list/page.phtml
+++ b/resources/views/modules/submitter-list/page.phtml
@@ -5,8 +5,8 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Submitter> $submitters
- * @var string $title
+ * @var Collection<int,Submitter> $submitters
+ * @var string $title
* @var Tree $tree
*/
diff --git a/resources/views/modules/timeline-chart/chart.phtml b/resources/views/modules/timeline-chart/chart.phtml
index e025fafde8..54c50cbaf4 100644
--- a/resources/views/modules/timeline-chart/chart.phtml
+++ b/resources/views/modules/timeline-chart/chart.phtml
@@ -9,6 +9,9 @@ use Fisharebest\Webtrees\Individual;
/**
* @var int $baseyear
* @var int $bheight
+ * @var array<int> $birthdays
+ * @var array<int> $birthmonths
+ * @var array<int> $birthyears
* @var int $scale
* @var int $topyear
* @var array<Fact> $indifacts
diff --git a/resources/views/modules/timeline-chart/page.phtml b/resources/views/modules/timeline-chart/page.phtml
index 63f1c913cd..abda4ab5fa 100644
--- a/resources/views/modules/timeline-chart/page.phtml
+++ b/resources/views/modules/timeline-chart/page.phtml
@@ -6,14 +6,14 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var string $ajax_url
- * @var Collection<Individual> $individuals
- * @var array<string,string> $remove_urls
- * @var string $reset_url
- * @var string $title
- * @var Tree $tree
- * @var string $zoom_in_url
- * @var string $zoom_out_url
+ * @var string $ajax_url
+ * @var Collection<int,Individual> $individuals
+ * @var array<string,string> $remove_urls
+ * @var string $reset_url
+ * @var string $title
+ * @var Tree $tree
+ * @var string $zoom_in_url
+ * @var string $zoom_out_url
*/
?>
diff --git a/resources/views/modules/todo/research-tasks.phtml b/resources/views/modules/todo/research-tasks.phtml
index 836189991d..ecd5b99cab 100644
--- a/resources/views/modules/todo/research-tasks.phtml
+++ b/resources/views/modules/todo/research-tasks.phtml
@@ -5,9 +5,9 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var int $limit_high
- * @var int $limit_low
- * @var Collection<Fact> $tasks
+ * @var int $limit_high
+ * @var int $limit_low
+ * @var Collection<int,Fact> $tasks
*/
?>
diff --git a/resources/views/modules/user-messages/user-messages.phtml b/resources/views/modules/user-messages/user-messages.phtml
index 0084fb7cff..3c07855469 100644
--- a/resources/views/modules/user-messages/user-messages.phtml
+++ b/resources/views/modules/user-messages/user-messages.phtml
@@ -12,13 +12,13 @@ use Fisharebest\Webtrees\User;
use Illuminate\Support\Collection;
/**
- * @var int $block_id
- * @var string $context
- * @var ModuleInterface $module
- * @var Tree $tree
- * @var Collection<object> $messages
- * @var Collection<User> $users
- * @var UserService $user_service
+ * @var int $block_id
+ * @var string $context
+ * @var ModuleInterface $module
+ * @var Tree $tree
+ * @var Collection<int,object> $messages
+ * @var Collection<int,User> $users
+ * @var UserService $user_service
*/
?>
diff --git a/resources/views/modules/user_blog/list.phtml b/resources/views/modules/user_blog/list.phtml
index 043994a889..5811e35caa 100644
--- a/resources/views/modules/user_blog/list.phtml
+++ b/resources/views/modules/user_blog/list.phtml
@@ -6,10 +6,10 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<object> $articles
- * @var int $block_id
- * @var int $limit
- * @var Tree $tree
+ * @var Collection<int,object> $articles
+ * @var int $block_id
+ * @var int $limit
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/modules/yahrzeit/list.phtml b/resources/views/modules/yahrzeit/list.phtml
index e0c0354083..4aba302677 100644
--- a/resources/views/modules/yahrzeit/list.phtml
+++ b/resources/views/modules/yahrzeit/list.phtml
@@ -5,10 +5,10 @@ use Fisharebest\Webtrees\View;
use Illuminate\Support\Collection;
/**
- * @var int $id
- * @var int $limit_low
- * @var int $limit_high
- * @var Collection<object> $yahrzeits
+ * @var int $id
+ * @var int $limit_low
+ * @var int $limit_high
+ * @var Collection<int,object> $yahrzeits
*/
?>
diff --git a/resources/views/modules/yahrzeit/table.phtml b/resources/views/modules/yahrzeit/table.phtml
index 4631248fb0..799d8cae8e 100644
--- a/resources/views/modules/yahrzeit/table.phtml
+++ b/resources/views/modules/yahrzeit/table.phtml
@@ -4,9 +4,9 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var int $limit_high
- * @var int $limit_low
- * @var Collection<object> $yahrzeits
+ * @var int $limit_high
+ * @var int $limit_low
+ * @var Collection<int,object> $yahrzeits
*/
?>
diff --git a/resources/views/note-page-details.phtml b/resources/views/note-page-details.phtml
index f7a516ff47..0d1bf4cb31 100644
--- a/resources/views/note-page-details.phtml
+++ b/resources/views/note-page-details.phtml
@@ -9,9 +9,9 @@ use Fisharebest\Webtrees\Registry;
use Illuminate\Support\Collection;
/**
- * @var Note $record
- * @var Collection<Fact> $clipboard_facts
- * @var string $text
+ * @var Note $record
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var string $text
*/
?>
diff --git a/resources/views/note-page.phtml b/resources/views/note-page.phtml
index 969ad09d5f..76a84da128 100644
--- a/resources/views/note-page.phtml
+++ b/resources/views/note-page.phtml
@@ -10,13 +10,13 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Note $record
- * @var Collection<Fact> $clipboard_facts
- * @var Collection<Family> $linked_families
- * @var Collection<Individual> $linked_individuals
- * @var Collection<Media> $linked_media_objects
- * @var Collection<Source> $linked_sources
- * @var Tree $tree
+ * @var Note $record
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var Collection<int,Family> $linked_families
+ * @var Collection<int,Individual> $linked_individuals
+ * @var Collection<int,Media> $linked_media_objects
+ * @var Collection<int,Source> $linked_sources
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/record-page-links.phtml b/resources/views/record-page-links.phtml
index e1f0b6fdf0..af6da071ab 100644
--- a/resources/views/record-page-links.phtml
+++ b/resources/views/record-page-links.phtml
@@ -10,13 +10,13 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var string $details
- * @var ?Collection<Family> $linked_families
- * @var ?Collection<Individual> $linked_individuals
- * @var ?Collection<Media> $linked_media_objects
- * @var ?Collection<Note> $linked_notes
- * @var ?Collection<Source> $linked_sources
- * @var Tree $tree
+ * @var string $details
+ * @var ?Collection<int,Family> $linked_families
+ * @var ?Collection<int,Individual> $linked_individuals
+ * @var ?Collection<int,Media> $linked_media_objects
+ * @var ?Collection<int,Note> $linked_notes
+ * @var ?Collection<int,Source> $linked_sources
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/record-page-menu-clipboard.phtml b/resources/views/record-page-menu-clipboard.phtml
index 0cda3551c2..6de2942bab 100644
--- a/resources/views/record-page-menu-clipboard.phtml
+++ b/resources/views/record-page-menu-clipboard.phtml
@@ -8,8 +8,8 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var Collection<Fact> $clipboard_facts
- * @var GedcomRecord $record
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var GedcomRecord $record
*/
?>
diff --git a/resources/views/record-page-menu.phtml b/resources/views/record-page-menu.phtml
index 58abd346f7..71fc6cba1e 100644
--- a/resources/views/record-page-menu.phtml
+++ b/resources/views/record-page-menu.phtml
@@ -9,8 +9,8 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var Collection<Fact> $clipboard_facts
- * @var GedcomRecord $record
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var GedcomRecord $record
*/
?>
diff --git a/resources/views/record-page.phtml b/resources/views/record-page.phtml
index c0afca5b56..037ece3fef 100644
--- a/resources/views/record-page.phtml
+++ b/resources/views/record-page.phtml
@@ -11,14 +11,14 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Fact> $clipboard_facts
- * @var Collection<Family> $linked_families
- * @var Collection<Individual> $linked_individuals
- * @var Collection<Media> $linked_media_objects
- * @var Collection<Note> $linked_notes
- * @var Collection<Source> $linked_sources
- * @var GedcomRecord $record
- * @var Tree $tree
+ * @var Collection<int,Fact> $clipboard_facts
+ * @var Collection<int,Family> $linked_families
+ * @var Collection<int,Individual> $linked_individuals
+ * @var Collection<int,Media> $linked_media_objects
+ * @var Collection<int,Note> $linked_notes
+ * @var Collection<int,Source> $linked_sources
+ * @var GedcomRecord $record
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/report-select-page.phtml b/resources/views/report-select-page.phtml
index 323e884ee3..73c7c20745 100644
--- a/resources/views/report-select-page.phtml
+++ b/resources/views/report-select-page.phtml
@@ -5,8 +5,8 @@ use Fisharebest\Webtrees\Module\ModuleReportInterface;
use Illuminate\Support\Collection;
/**
- * @var Collection<ModuleReportInterface> $reports
- * @var string $title
+ * @var Collection<int,ModuleReportInterface> $reports
+ * @var string $title
*/
?>
diff --git a/resources/views/search-advanced-page.phtml b/resources/views/search-advanced-page.phtml
index d432a5d712..deadee5d13 100644
--- a/resources/views/search-advanced-page.phtml
+++ b/resources/views/search-advanced-page.phtml
@@ -7,14 +7,14 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var array<string,string> $date_options
- * @var array<string,string> $fields
- * @var array<string,string> $field_labels
- * @var Collection<Individual> $individuals
- * @var array<string,string> $name_options
- * @var array<string,string> $other_fields
- * @var string $title
- * @var Tree $tree
+ * @var array<string,string> $date_options
+ * @var array<string,string> $fields
+ * @var array<string,string> $field_labels
+ * @var Collection<int,Individual> $individuals
+ * @var array<string,string> $name_options
+ * @var array<string,string> $other_fields
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/search-general-page.phtml b/resources/views/search-general-page.phtml
index bf00e74a64..96dabc584c 100644
--- a/resources/views/search-general-page.phtml
+++ b/resources/views/search-general-page.phtml
@@ -12,27 +12,27 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Tree> $all_trees
- * @var bool $exist_locations
- * @var bool $exist_notes
- * @var bool $exist_repositories
- * @var bool $exist_sources
- * @var Collection<Family> $families
- * @var Collection<Individual> $individuals
- * @var Collection<Location> $locations
- * @var Collection<Note> $notes
- * @var string $query
- * @var Collection<Repository> $repositories
- * @var Collection<Source> $sources
- * @var bool $search_families
- * @var bool $search_individuals
- * @var bool $search_locations
- * @var bool $search_notes
- * @var bool $search_repositories
- * @var bool $search_sources
- * @var Collection<Tree> $search_trees
- * @var string $title
- * @var Tree $tree
+ * @var Collection<int,Tree> $all_trees
+ * @var bool $exist_locations
+ * @var bool $exist_notes
+ * @var bool $exist_repositories
+ * @var bool $exist_sources
+ * @var Collection<int,Family> $families
+ * @var Collection<int,Individual> $individuals
+ * @var Collection<int,Location> $locations
+ * @var Collection<int,Note> $notes
+ * @var string $query
+ * @var Collection<int,Repository> $repositories
+ * @var Collection<int,Source> $sources
+ * @var bool $search_families
+ * @var bool $search_individuals
+ * @var bool $search_locations
+ * @var bool $search_notes
+ * @var bool $search_repositories
+ * @var bool $search_sources
+ * @var Collection<int,Tree> $search_trees
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/search-phonetic-page.phtml b/resources/views/search-phonetic-page.phtml
index 4232ec6c5f..22abae79aa 100644
--- a/resources/views/search-phonetic-page.phtml
+++ b/resources/views/search-phonetic-page.phtml
@@ -7,15 +7,15 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Tree> $all_trees
- * @var string $firstname
- * @var Collection<Individual> $individuals
- * @var string $lastname
- * @var string $place
- * @var Collection<Tree> $search_trees
- * @var string $soundex
- * @var string $title
- * @var Tree $tree
+ * @var Collection<int,Tree> $all_trees
+ * @var string $firstname
+ * @var Collection<int,Individual> $individuals
+ * @var string $lastname
+ * @var string $place
+ * @var Collection<int,Tree> $search_trees
+ * @var string $soundex
+ * @var string $title
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/search-results.phtml b/resources/views/search-results.phtml
index 02b54a70cf..d64166324c 100644
--- a/resources/views/search-results.phtml
+++ b/resources/views/search-results.phtml
@@ -12,19 +12,19 @@ use Fisharebest\Webtrees\View;
use Illuminate\Support\Collection;
/**
- * @var Collection<Family> $families
- * @var Collection<Individual> $individuals
- * @var Collection<Location> $locations
- * @var Collection<Note> $notes
- * @var Collection<Repository> $repositories
- * @var Collection<Source> $sources
- * @var bool $search_families
- * @var bool $search_individuals
- * @var bool $search_locations
- * @var bool $search_notes
- * @var bool $search_repositories
- * @var bool $search_sources
- * @var Tree $tree
+ * @var Collection<int,Family> $families
+ * @var Collection<int,Individual> $individuals
+ * @var Collection<int,Location> $locations
+ * @var Collection<int,Note> $notes
+ * @var Collection<int,Repository> $repositories
+ * @var Collection<int,Source> $sources
+ * @var bool $search_families
+ * @var bool $search_individuals
+ * @var bool $search_locations
+ * @var bool $search_notes
+ * @var bool $search_repositories
+ * @var bool $search_sources
+ * @var Tree $tree
*/
?>
diff --git a/resources/views/search-trees.phtml b/resources/views/search-trees.phtml
index 29131874ed..8566104112 100644
--- a/resources/views/search-trees.phtml
+++ b/resources/views/search-trees.phtml
@@ -5,8 +5,8 @@ use Fisharebest\Webtrees\Tree;
use Illuminate\Support\Collection;
/**
- * @var Collection<Tree> $all_trees
- * @var Collection<Tree> $search_trees
+ * @var Collection<int,Tree> $all_trees
+ * @var Collection<int,Tree> $search_trees
*/
?>
diff --git a/resources/views/setup/step-1-language.phtml b/resources/views/setup/step-1-language.phtml
index 5a33168b7f..29eb9a3358 100644
--- a/resources/views/setup/step-1-language.phtml
+++ b/resources/views/setup/step-1-language.phtml
@@ -5,21 +5,21 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var string $dbhost
- * @var string $dbname
- * @var string $dbpass
- * @var string $dbport
- * @var string $dbtype
- * @var string $dbuser
- * @var Collection<string> $errors
- * @var string $lang
- * @var Collection<LocaleInterface> $locales
- * @var string $tblpfx
- * @var Collection<string> $warnings
- * @var string $wtemail
- * @var string $wtname
- * @var string $wtpass
- * @var string $wtuser
+ * @var string $dbhost
+ * @var string $dbname
+ * @var string $dbpass
+ * @var string $dbport
+ * @var string $dbtype
+ * @var string $dbuser
+ * @var Collection<int,string> $errors
+ * @var string $lang
+ * @var Collection<int,LocaleInterface> $locales
+ * @var string $tblpfx
+ * @var Collection<int,string> $warnings
+ * @var string $wtemail
+ * @var string $wtname
+ * @var string $wtpass
+ * @var string $wtuser
*/
?>
diff --git a/resources/views/setup/step-2-server-checks.phtml b/resources/views/setup/step-2-server-checks.phtml
index 0cb7e2e034..3c56ed09b7 100644
--- a/resources/views/setup/step-2-server-checks.phtml
+++ b/resources/views/setup/step-2-server-checks.phtml
@@ -4,22 +4,22 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var int $cpu_limit
- * @var string $dbhost
- * @var string $dbname
- * @var string $dbpass
- * @var string $dbport
- * @var string $dbtype
- * @var string $dbuser
- * @var Collection<string> $errors
- * @var string $lang
- * @var int $memory_limit
- * @var string $tblpfx
- * @var Collection<string> $warnings
- * @var string $wtemail
- * @var string $wtname
- * @var string $wtpass
- * @var string $wtuser
+ * @var int $cpu_limit
+ * @var string $dbhost
+ * @var string $dbname
+ * @var string $dbpass
+ * @var string $dbport
+ * @var string $dbtype
+ * @var string $dbuser
+ * @var Collection<int,string> $errors
+ * @var string $lang
+ * @var int $memory_limit
+ * @var string $tblpfx
+ * @var Collection<int,string> $warnings
+ * @var string $wtemail
+ * @var string $wtname
+ * @var string $wtpass
+ * @var string $wtuser
*/
?>
diff --git a/resources/views/setup/step-3-database-type.phtml b/resources/views/setup/step-3-database-type.phtml
index 713da44220..27eb2d498c 100644
--- a/resources/views/setup/step-3-database-type.phtml
+++ b/resources/views/setup/step-3-database-type.phtml
@@ -4,20 +4,20 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var string $dbhost
- * @var string $dbname
- * @var string $dbpass
- * @var string $dbport
- * @var string $dbtype
- * @var string $dbuser
- * @var Collection<string> $errors
- * @var string $lang
- * @var string $tblpfx
- * @var Collection<string> $warnings
- * @var string $wtemail
- * @var string $wtname
- * @var string $wtpass
- * @var string $wtuser
+ * @var string $dbhost
+ * @var string $dbname
+ * @var string $dbpass
+ * @var string $dbport
+ * @var string $dbtype
+ * @var string $dbuser
+ * @var Collection<int,string> $errors
+ * @var string $lang
+ * @var string $tblpfx
+ * @var Collection<int,string> $warnings
+ * @var string $wtemail
+ * @var string $wtname
+ * @var string $wtpass
+ * @var string $wtuser
*/
?>
diff --git a/resources/views/setup/step-4-database-mysql.phtml b/resources/views/setup/step-4-database-mysql.phtml
index bc0ba0f2c0..3ee5e064c6 100644
--- a/resources/views/setup/step-4-database-mysql.phtml
+++ b/resources/views/setup/step-4-database-mysql.phtml
@@ -4,20 +4,20 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var string $dbhost
- * @var string $dbname
- * @var string $dbpass
- * @var string $dbport
- * @var string $dbtype
- * @var string $dbuser
- * @var Collection<string> $errors
- * @var string $lang
- * @var string $tblpfx
- * @var Collection<string> $warnings
- * @var string $wtemail
- * @var string $wtname
- * @var string $wtpass
- * @var string $wtuser
+ * @var string $dbhost
+ * @var string $dbname
+ * @var string $dbpass
+ * @var string $dbport
+ * @var string $dbtype
+ * @var string $dbuser
+ * @var Collection<int,string> $errors
+ * @var string $lang
+ * @var string $tblpfx
+ * @var Collection<int,string> $warnings
+ * @var string $wtemail
+ * @var string $wtname
+ * @var string $wtpass
+ * @var string $wtuser
*/
?>
diff --git a/resources/views/setup/step-4-database-pgsql.phtml b/resources/views/setup/step-4-database-pgsql.phtml
index e8b5569176..00ec07aa90 100644
--- a/resources/views/setup/step-4-database-pgsql.phtml
+++ b/resources/views/setup/step-4-database-pgsql.phtml
@@ -4,20 +4,20 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var string $dbhost
- * @var string $dbname
- * @var string $dbpass
- * @var string $dbport
- * @var string $dbtype
- * @var string $dbuser
- * @var Collection<string> $errors
- * @var string $lang
- * @var string $tblpfx
- * @var Collection<string> $warnings
- * @var string $wtemail
- * @var string $wtname
- * @var string $wtpass
- * @var string $wtuser
+ * @var string $dbhost
+ * @var string $dbname
+ * @var string $dbpass
+ * @var string $dbport
+ * @var string $dbtype
+ * @var string $dbuser
+ * @var Collection<int,string> $errors
+ * @var string $lang
+ * @var string $tblpfx
+ * @var Collection<int,string> $warnings
+ * @var string $wtemail
+ * @var string $wtname
+ * @var string $wtpass
+ * @var string $wtuser
*/
?>
diff --git a/resources/views/setup/step-4-database-sqlite.phtml b/resources/views/setup/step-4-database-sqlite.phtml
index fa76fa4ce4..252953ad01 100644
--- a/resources/views/setup/step-4-database-sqlite.phtml
+++ b/resources/views/setup/step-4-database-sqlite.phtml
@@ -5,20 +5,20 @@ use Fisharebest\Webtrees\Webtrees;
use Illuminate\Support\Collection;
/**
- * @var string $dbhost
- * @var string $dbname
- * @var string $dbpass
- * @var string $dbport
- * @var string $dbtype
- * @var string $dbuser
- * @var Collection<string> $errors
- * @var string $lang
- * @var string $tblpfx
- * @var Collection<string> $warnings
- * @var string $wtemail
- * @var string $wtname
- * @var string $wtpass
- * @var string $wtuser
+ * @var string $dbhost
+ * @var string $dbname
+ * @var string $dbpass
+ * @var string $dbport
+ * @var string $dbtype
+ * @var string $dbuser
+ * @var Collection<int,string> $errors
+ * @var string $lang
+ * @var string $tblpfx
+ * @var Collection<int,string> $warnings
+ * @var string $wtemail
+ * @var string $wtname
+ * @var string $wtpass
+ * @var string $wtuser
*/
?>
diff --git a/resources/views/setup/step-4-database-sqlsvr.phtml b/resources/views/setup/step-4-database-sqlsvr.phtml
index bdf8d7bede..9dc89d2ca7 100644
--- a/resources/views/setup/step-4-database-sqlsvr.phtml
+++ b/resources/views/setup/step-4-database-sqlsvr.phtml
@@ -4,20 +4,20 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var string $dbhost
- * @var string $dbname
- * @var string $dbpass
- * @var string $dbport
- * @var string $dbtype
- * @var string $dbuser
- * @var Collection<string> $errors
- * @var string $lang
- * @var string $tblpfx
- * @var Collection<string> $warnings
- * @var string $wtemail
- * @var string $wtname
- * @var string $wtpass
- * @var string $wtuser
+ * @var string $dbhost
+ * @var string $dbname
+ * @var string $dbpass
+ * @var string $dbport
+ * @var string $dbtype
+ * @var string $dbuser
+ * @var Collection<int,string> $errors
+ * @var string $lang
+ * @var string $tblpfx
+ * @var Collection<int,string> $warnings
+ * @var string $wtemail
+ * @var string $wtname
+ * @var string $wtpass
+ * @var string $wtuser
*/
?>
diff --git a/resources/views/setup/step-5-administrator.phtml b/resources/views/setup/step-5-administrator.phtml
index 874a9c9e2f..67ab6aec94 100644
--- a/resources/views/setup/step-5-administrator.phtml
+++ b/resources/views/setup/step-5-administrator.phtml
@@ -4,20 +4,20 @@ use Fisharebest\Webtrees\I18N;
use Illuminate\Support\Collection;
/**
- * @var string $dbhost
- * @var string $dbname
- * @var string $dbpass
- * @var string $dbport
- * @var string $dbtype
- * @var string $dbuser
- * @var Collection<string> $errors
- * @var string $lang
- * @var string $tblpfx
- * @var Collection<string> $warnings
- * @var string $wtemail
- * @var string $wtname
- * @var string $wtpass
- * @var string $wtuser
+ * @var string $dbhost
+ * @var string $dbname
+ * @var string $dbpass
+ * @var string $dbport
+ * @var string $dbtype
+ * @var string $dbuser
+ * @var Collection<int,string> $errors
+ * @var string $lang
+ * @var string $tblpfx
+ * @var Collection<int,string> $warnings
+ * @var string $wtemail
+ * @var string $wtname
+ * @var string $wtpass
+ * @var string $wtuser
*/
?>
diff --git a/resources/views/statistics/other/chart-distribution.phtml b/resources/views/statistics/other/chart-distribution.phtml
index d08126d9fe..4ccd9f8a3f 100644
--- a/resources/views/statistics/other/chart-distribution.phtml
+++ b/resources/views/statistics/other/chart-distribution.phtml
@@ -2,10 +2,10 @@
declare(strict_types=1);
-/** @var Statistics $stats */
-
use Fisharebest\Webtrees\Statistics;
+/** @var Statistics $stats */
+
?>
<?= $stats->chartDistribution();