summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2024-12-23 18:08:57 +0000
committerGreg Roach <greg@subaqua.co.uk>2024-12-23 18:14:31 +0000
commit26f2c626567476a40ec3c65bea77e23c03a9ee9f (patch)
treea15d5926fd5722ee4a39552f39c6256efb97e3b3 /app
parent8359930fcd96d9e4473faf896364f3e821f1cb8b (diff)
downloadwebtrees-26f2c626567476a40ec3c65bea77e23c03a9ee9f.tar.gz
webtrees-26f2c626567476a40ec3c65bea77e23c03a9ee9f.tar.bz2
webtrees-26f2c626567476a40ec3c65bea77e23c03a9ee9f.zip
PHPdoc
Diffstat (limited to 'app')
-rw-r--r--app/Services/LinkedRecordService.php40
1 files changed, 1 insertions, 39 deletions
diff --git a/app/Services/LinkedRecordService.php b/app/Services/LinkedRecordService.php
index bdde4c15ad..3bd66f64c7 100644
--- a/app/Services/LinkedRecordService.php
+++ b/app/Services/LinkedRecordService.php
@@ -43,11 +43,7 @@ use function addcslashes;
class LinkedRecordService
{
/**
- * Find all records linked to a record.
- *
- * @param GedcomRecord $record
- *
- * @return Collection<int,Family>
+ * @return Collection<int,GedcomRecord>
*/
public function allLinkedRecords(GedcomRecord $record): Collection
{
@@ -78,11 +74,6 @@ class LinkedRecordService
}
/**
- * Find families linked to a record.
- *
- * @param GedcomRecord $record
- * @param string|null $link_type
- *
* @return Collection<int,Family>
*/
public function linkedFamilies(GedcomRecord $record, string|null $link_type = null): Collection
@@ -109,11 +100,6 @@ class LinkedRecordService
}
/**
- * Find individuals linked to a record.
- *
- * @param GedcomRecord $record
- * @param string|null $link_type
- *
* @return Collection<int,Individual>
*/
public function linkedIndividuals(GedcomRecord $record, string|null $link_type = null): Collection
@@ -140,10 +126,6 @@ class LinkedRecordService
}
/**
- * Find locations linked to a record.
- *
- * @param GedcomRecord $record
- *
* @return Collection<int,Location>
*/
public function linkedLocations(GedcomRecord $record): Collection
@@ -165,10 +147,6 @@ class LinkedRecordService
}
/**
- * Find media objects linked to a record.
- *
- * @param GedcomRecord $record
- *
* @return Collection<int,Media>
*/
public function linkedMedia(GedcomRecord $record): Collection
@@ -189,10 +167,6 @@ class LinkedRecordService
}
/**
- * Find notes linked to a record.
- *
- * @param GedcomRecord $record
- *
* @return Collection<int,Note>
*/
public function linkedNotes(GedcomRecord $record): Collection
@@ -214,10 +188,6 @@ class LinkedRecordService
}
/**
- * Find repositories linked to a record.
- *
- * @param GedcomRecord $record
- *
* @return Collection<int,Repository>
*/
public function linkedRepositories(GedcomRecord $record): Collection
@@ -239,10 +209,6 @@ class LinkedRecordService
}
/**
- * Find sources linked to a record.
- *
- * @param GedcomRecord $record
- *
* @return Collection<int,Source>
*/
public function linkedSources(GedcomRecord $record): Collection
@@ -263,10 +229,6 @@ class LinkedRecordService
}
/**
- * Find submitters linked to a record.
- *
- * @param GedcomRecord $record
- *
* @return Collection<int,Repository>
*/
public function linkedSubmitters(GedcomRecord $record): Collection