summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2021-02-04 13:44:06 +0000
committerGreg Roach <greg@subaqua.co.uk>2021-02-04 14:13:10 +0000
commitd97c97e899282d8da9c8b511a7cfb2e17d5e8568 (patch)
tree847383993c28e0962c7fd24c2a92713f4baf4f86 /app
parent455a30fe529581f1d53045f9c38a0674472d498f (diff)
downloadwebtrees-d97c97e899282d8da9c8b511a7cfb2e17d5e8568.tar.gz
webtrees-d97c97e899282d8da9c8b511a7cfb2e17d5e8568.tar.bz2
webtrees-d97c97e899282d8da9c8b511a7cfb2e17d5e8568.zip
Code style
Diffstat (limited to 'app')
-rw-r--r--app/Statistics/Service/ColorService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Statistics/Service/ColorService.php b/app/Statistics/Service/ColorService.php
index 37f0e39b0b..fe9252ce86 100644
--- a/app/Statistics/Service/ColorService.php
+++ b/app/Statistics/Service/ColorService.php
@@ -88,7 +88,7 @@ class ColorService
*/
private function hexToRgb(string $hex): array
{
- return array_map(function (string $hex): int {
+ return array_map(static function (string $hex): int {
return (int) hexdec($hex);
}, str_split(ltrim($hex, '#'), 2));
}