Skip to content

Commit

Permalink
Modify if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
Codeweld committed Jan 6, 2022
1 parent 4ffa318 commit d10c32f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Behat/Model/OperationRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ private function formatFilter(string $filterName, $filterValue): string
{
$processedValue = (string) $filterValue;

if (is_bool($filterValue)) {
if (true === is_bool($filterValue)) {
$processedValue = $filterValue ? 'true' : 'false';
}

Expand Down

0 comments on commit d10c32f

Please sign in to comment.