summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2022-11-30 16:34:09 +0000
committerGreg Roach <greg@subaqua.co.uk>2022-11-30 19:30:35 +0000
commit61351a03dbeb5920221fcb08c904615fe551fd3a (patch)
treed8613bea037267b4b488c876fab45b7cf4300ae8 /app
parente1ade55d328793bd3fc1eed51f12fd610198c3a2 (diff)
downloadwebtrees-61351a03dbeb5920221fcb08c904615fe551fd3a.tar.gz
webtrees-61351a03dbeb5920221fcb08c904615fe551fd3a.tar.bz2
webtrees-61351a03dbeb5920221fcb08c904615fe551fd3a.zip
PHPdoc
Diffstat (limited to 'app')
-rw-r--r--app/Contracts/IdFactoryInterface.php2
-rw-r--r--app/Factories/IdFactory.php2
-rw-r--r--app/Http/RequestHandlers/AutoCompleteFolder.php3
-rw-r--r--app/Services/GedcomExportService.php14
4 files changed, 14 insertions, 7 deletions
diff --git a/app/Contracts/IdFactoryInterface.php b/app/Contracts/IdFactoryInterface.php
index 7551ffe808..7c095413f2 100644
--- a/app/Contracts/IdFactoryInterface.php
+++ b/app/Contracts/IdFactoryInterface.php
@@ -32,6 +32,8 @@ interface IdFactoryInterface
/**
* An identifier for use in CSS/HTML
*
+ * @param string $prefix
+ *
* @return string
*/
public function id(string $prefix = 'id-'): string;
diff --git a/app/Factories/IdFactory.php b/app/Factories/IdFactory.php
index 1ee70a5754..a9a902d522 100644
--- a/app/Factories/IdFactory.php
+++ b/app/Factories/IdFactory.php
@@ -52,6 +52,8 @@ class IdFactory implements IdFactoryInterface
/**
* An identifier for use in CSS/HTML
*
+ * @param string $prefix
+ *
* @return string
*/
public function id(string $prefix = 'id-'): string
diff --git a/app/Http/RequestHandlers/AutoCompleteFolder.php b/app/Http/RequestHandlers/AutoCompleteFolder.php
index 6535cb9089..3cf2b67bef 100644
--- a/app/Http/RequestHandlers/AutoCompleteFolder.php
+++ b/app/Http/RequestHandlers/AutoCompleteFolder.php
@@ -35,7 +35,8 @@ class AutoCompleteFolder extends AbstractAutocompleteHandler
private MediaFileService $media_file_service;
/**
- * @param SearchService $search_service
+ * @param MediaFileService $media_file_service
+ * @param SearchService $search_service
*/
public function __construct(MediaFileService $media_file_service, SearchService $search_service)
{
diff --git a/app/Services/GedcomExportService.php b/app/Services/GedcomExportService.php
index 30bff398e3..fe47c516cf 100644
--- a/app/Services/GedcomExportService.php
+++ b/app/Services/GedcomExportService.php
@@ -94,12 +94,14 @@ class GedcomExportService
}
/**
- * @param Tree $tree - Export data from this tree
- * @param bool $sort_by_xref - Write GEDCOM records in XREF order
- * @param string $encoding - Convert from UTF-8 to other encoding
- * @param string $privacy - Filter records by role
- * @param string $filename - Name of download file, without an extension
- * @param string $format - One of: gedcom, zip, zipmedia, gedzip
+ * @param Tree $tree - Export data from this tree
+ * @param bool $sort_by_xref - Write GEDCOM records in XREF order
+ * @param string $encoding - Convert from UTF-8 to other encoding
+ * @param string $privacy - Filter records by role
+ * @param string $line_endings
+ * @param string $filename - Name of download file, without an extension
+ * @param string $format - One of: gedcom, zip, zipmedia, gedzip
+ * @param Collection|null $records
*
* @return ResponseInterface
*/