Skip to content

Commit

Permalink
Formatter allows bool
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran committed Oct 2, 2024
1 parent f2cf7ee commit 30dce7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Formatter/SettingsFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
class SettingsFormatter implements SettingsFormatterInterface
{
/**
* @param int|float|string|array $value
* @param int|float|string|array|bool $value
*
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Formatter/SettingsFormatterInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 30dce7e

Please sign in to comment.