diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-10-06 19:17:01 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-10-06 21:08:30 +0100 |
| commit | 8a4ee39c672840ee75fccd3fa23578043bf2590c (patch) | |
| tree | ecac1d4efd4d762c398aed196c488923b4c6927f /app/Report/ReportParserGenerate.php | |
| parent | e33d66762436a8bb1ed10d6d6d0f23bb8f2f0fe3 (diff) | |
| download | webtrees-8a4ee39c672840ee75fccd3fa23578043bf2590c.tar.gz webtrees-8a4ee39c672840ee75fccd3fa23578043bf2590c.tar.bz2 webtrees-8a4ee39c672840ee75fccd3fa23578043bf2590c.zip | |
PHPdoc
Diffstat (limited to 'app/Report/ReportParserGenerate.php')
| -rw-r--r-- | app/Report/ReportParserGenerate.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/Report/ReportParserGenerate.php b/app/Report/ReportParserGenerate.php index 726e56fae0..ab63e4b5c9 100644 --- a/app/Report/ReportParserGenerate.php +++ b/app/Report/ReportParserGenerate.php @@ -153,11 +153,11 @@ class ReportParserGenerate extends ReportParserBase * * @param resource $parser the resource handler for the XML parser * @param string $name the name of the XML element parsed - * @param array $attrs an array of key value pairs for the attributes + * @param string[] $attrs an array of key value pairs for the attributes * * @return void */ - protected function startElement($parser, $name, $attrs) + protected function startElement($parser, string $name, array $attrs) { $newattrs = []; @@ -192,7 +192,7 @@ class ReportParserGenerate extends ReportParserBase * * @return void */ - protected function endElement($parser, $name) + protected function endElement($parser, string $name) { if (($this->process_footnote || $name === 'Footnote') && ($this->process_ifs === 0 || $name === 'if') && ($this->process_gedcoms === 0 || $name === 'Gedcom') && ($this->process_repeats === 0 || $name === 'Facts' || $name === 'RepeatTag' || $name === 'List' || $name === 'Relatives')) { $start_method = $name . 'StartHandler'; |
