diff options
| author | Greg Roach <fisharebest@webtrees.net> | 2018-10-05 14:45:31 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@webtrees.net> | 2018-10-05 14:45:31 +0100 |
| commit | 589feda391b943b928aea0b4107591eb0e7bbf89 (patch) | |
| tree | 9181107385266814c3681d6bf53abbbdd420a592 /app/Report/ReportBaseElement.php | |
| parent | 1121bd6832d8a9897a30155d22c635239a794d4d (diff) | |
| download | webtrees-589feda391b943b928aea0b4107591eb0e7bbf89.tar.gz webtrees-589feda391b943b928aea0b4107591eb0e7bbf89.tar.bz2 webtrees-589feda391b943b928aea0b4107591eb0e7bbf89.zip | |
Strict types in reports
Diffstat (limited to 'app/Report/ReportBaseElement.php')
| -rw-r--r-- | app/Report/ReportBaseElement.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/app/Report/ReportBaseElement.php b/app/Report/ReportBaseElement.php index a02188cd52..e55d263154 100644 --- a/app/Report/ReportBaseElement.php +++ b/app/Report/ReportBaseElement.php @@ -86,13 +86,11 @@ class ReportBaseElement /** * Add an end-of-line. * - * @return int + * @return void */ - public function addNewline(): int + public function addNewline() { $this->text .= "\n"; - - return 0; } /** @@ -111,9 +109,9 @@ class ReportBaseElement * @param $wrapwidth * @param $cellwidth * - * @return int + * @return float */ - public function setWrapWidth($wrapwidth, $cellwidth): int + public function setWrapWidth($wrapwidth, $cellwidth): float { return 0; } |
