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
maximehuran authored Oct 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents f2cf7ee + 30dce7e commit d11d38a
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
@@ -19,7 +19,7 @@
class SettingsFormatter implements SettingsFormatterInterface
{
/**
* @param int|float|string|array $value
* @param int|float|string|array|bool $value
*
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*/
2 changes: 1 addition & 1 deletion src/Formatter/SettingsFormatterInterface.php
Original file line number Diff line number Diff line change
@@ -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.