Skip to content

Commit

Permalink
Merge pull request #75 from maximehuran/feature/php-doc-bool
Browse files Browse the repository at this point in the history
Formatter allows bool
  • Loading branch information
maximehuran authored Oct 3, 2024
2 parents f2cf7ee + 30dce7e commit d11d38a
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 d11d38a

Please sign in to comment.