diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2022-02-05 11:58:25 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2022-02-05 11:58:25 +0000 |
| commit | a09ea7cc9ca431639d5ceeae1f257bc3ec3752d1 (patch) | |
| tree | c2178060a568f0198a40a80cb2ab46216e6ba1a9 /app/Report | |
| parent | ddcf848d4d15e09521128ce8a0c56d8d748b626e (diff) | |
| download | webtrees-a09ea7cc9ca431639d5ceeae1f257bc3ec3752d1.tar.gz webtrees-a09ea7cc9ca431639d5ceeae1f257bc3ec3752d1.tar.bz2 webtrees-a09ea7cc9ca431639d5ceeae1f257bc3ec3752d1.zip | |
Add anotations for false-positives in scrutinizer
Diffstat (limited to 'app/Report')
| -rw-r--r-- | app/Report/ReportBaseElement.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/Report/ReportBaseElement.php b/app/Report/ReportBaseElement.php index dfe63fdb9d..eb6efdf8f3 100644 --- a/app/Report/ReportBaseElement.php +++ b/app/Report/ReportBaseElement.php @@ -39,7 +39,7 @@ class ReportBaseElement * * @return void */ - public function render($renderer): void + public function render(/** @scrutinizer ignore-unused */ $renderer): void { //-- to be implemented in inherited classes } @@ -51,7 +51,7 @@ class ReportBaseElement * * @return float */ - public function getHeight($renderer): float + public function getHeight(/** @scrutinizer ignore-unused */ $renderer): float { return 0.0; } @@ -63,7 +63,7 @@ class ReportBaseElement * * @return array{0:float,1:int,2:float} */ - public function getWidth($renderer): array + public function getWidth(/** @scrutinizer ignore-unused */ $renderer): array { return [0.0, 1, 0.0]; } @@ -111,7 +111,7 @@ class ReportBaseElement * * @return float */ - public function setWrapWidth(float $wrapwidth, float $cellwidth): float + public function setWrapWidth(/** @scrutinizer ignore-unused */ float $wrapwidth, /** @scrutinizer ignore-unused */ float $cellwidth): float { return 0; } @@ -123,7 +123,7 @@ class ReportBaseElement * * @return void */ - public function renderFootnote($renderer): void + public function renderFootnote(/** @scrutinizer ignore-unused */ $renderer): void { } |
