diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2021-11-21 10:28:26 +0000 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2021-11-21 11:04:01 +0000 |
| commit | 4348fc0254475e33d56e6ce220a66ba884c01734 (patch) | |
| tree | 483b37d607b8599ed4b9c98979ab975b65ae029d /app/Report | |
| parent | 5994d6058652f69b15626ef1943e43f09d37a9b7 (diff) | |
| download | webtrees-4348fc0254475e33d56e6ce220a66ba884c01734.tar.gz webtrees-4348fc0254475e33d56e6ce220a66ba884c01734.tar.bz2 webtrees-4348fc0254475e33d56e6ce220a66ba884c01734.zip | |
CodeStyle
Diffstat (limited to 'app/Report')
| -rw-r--r-- | app/Report/AbstractRenderer.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Report/AbstractRenderer.php b/app/Report/AbstractRenderer.php index 588aaa4ca0..f28cb242ae 100644 --- a/app/Report/AbstractRenderer.php +++ b/app/Report/AbstractRenderer.php @@ -394,10 +394,10 @@ abstract class AbstractRenderer * * @param string $s Style name * - * @return array + * @return array<string> */ public function getStyle(string $s): array { - return $this->styles[$s] ?? current($this->styles); + return $this->styles[$s]; } } |
