diff options
Diffstat (limited to 'app/Statistics/Repository/Interfaces')
3 files changed, 6 insertions, 6 deletions
diff --git a/app/Statistics/Repository/Interfaces/IndividualRepositoryInterface.php b/app/Statistics/Repository/Interfaces/IndividualRepositoryInterface.php index 7fdc1bf962..1fc49d097f 100644 --- a/app/Statistics/Repository/Interfaces/IndividualRepositoryInterface.php +++ b/app/Statistics/Repository/Interfaces/IndividualRepositoryInterface.php @@ -188,8 +188,8 @@ interface IndividualRepositoryInterface * @return string */ public function chartSex( - string $color_female = null, - string $color_male = null, + string|null $color_female = null, + string|null $color_male = null, string $color_unknown = null ): string; } diff --git a/app/Statistics/Repository/Interfaces/LatestUserRepositoryInterface.php b/app/Statistics/Repository/Interfaces/LatestUserRepositoryInterface.php index 803171a3ff..5a8e5e74b2 100644 --- a/app/Statistics/Repository/Interfaces/LatestUserRepositoryInterface.php +++ b/app/Statistics/Repository/Interfaces/LatestUserRepositoryInterface.php @@ -52,7 +52,7 @@ interface LatestUserRepositoryInterface * * @return string */ - public function latestUserRegDate(string $format = null): string; + public function latestUserRegDate(string|null $format = null): string; /** * Find the timestamp of the latest user to register. @@ -61,7 +61,7 @@ interface LatestUserRepositoryInterface * * @return string */ - public function latestUserRegTime(string $format = null): string; + public function latestUserRegTime(string|null $format = null): string; /** * Is the most recently registered user logged in right now? @@ -71,5 +71,5 @@ interface LatestUserRepositoryInterface * * @return string */ - public function latestUserLoggedin(string $yes = null, string $no = null): string; + public function latestUserLoggedin(string|null $yes = null, string|null $no = null): string; } diff --git a/app/Statistics/Repository/Interfaces/MediaRepositoryInterface.php b/app/Statistics/Repository/Interfaces/MediaRepositoryInterface.php index 8717e2d690..377e83906d 100644 --- a/app/Statistics/Repository/Interfaces/MediaRepositoryInterface.php +++ b/app/Statistics/Repository/Interfaces/MediaRepositoryInterface.php @@ -172,5 +172,5 @@ interface MediaRepositoryInterface * * @return string */ - public function chartMedia(string $color_from = null, string $color_to = null): string; + public function chartMedia(string|null $color_from = null, string|null $color_to = null): string; } |
