From 30dce7e37eab95ca6677de5a50279ad444c1ad2c Mon Sep 17 00:00:00 2001 From: Maxime Huran Date: Wed, 2 Oct 2024 17:17:59 +0200 Subject: [PATCH] Formatter allows bool --- src/Formatter/SettingsFormatter.php | 2 +- src/Formatter/SettingsFormatterInterface.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Formatter/SettingsFormatter.php b/src/Formatter/SettingsFormatter.php index 7334e99e..b6c18783 100644 --- a/src/Formatter/SettingsFormatter.php +++ b/src/Formatter/SettingsFormatter.php @@ -19,7 +19,7 @@ class SettingsFormatter implements SettingsFormatterInterface { /** - * @param int|float|string|array $value + * @param int|float|string|array|bool $value * * @SuppressWarnings(PHPMD.CyclomaticComplexity) */ diff --git a/src/Formatter/SettingsFormatterInterface.php b/src/Formatter/SettingsFormatterInterface.php index f92310ef..761a6dc2 100644 --- a/src/Formatter/SettingsFormatterInterface.php +++ b/src/Formatter/SettingsFormatterInterface.php @@ -16,7 +16,7 @@ interface SettingsFormatterInterface { /** - * @param int|float|string|array $value + * @param int|float|string|array|bool $value */ public function formatValue(mixed $type, $value): mixed; }