Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
eldadfux committed Jun 21, 2020
1 parent a5feacb commit 1d01ede
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Validator/Boolean.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ class Boolean extends Validator
protected $strings = false;

/**
* @param array $strings
* Pass true to accept true and false strings as valid booleans
* This option is good for validating query string params.
*
* @param bool $strings
*/
public function __construct(bool $strings = false)
{
Expand Down

0 comments on commit 1d01ede

Please sign in to comment.