Skip to content

Commit

Permalink
Merge pull request #5381 from nicolas-grekas/php82
Browse files Browse the repository at this point in the history
Fix using deprecated syntax
  • Loading branch information
greg0ire authored May 6, 2022
2 parents a1a84d1 + 73eec6d commit 0781235
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Platforms/PostgreSQLPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ private function convertSingleBooleanValue($value, $callback)
return $callback(true);
}

throw new UnexpectedValueException("Unrecognized boolean literal '${value}'");
throw new UnexpectedValueException(sprintf("Unrecognized boolean literal '%s'", $value));
}

/**
Expand Down

0 comments on commit 0781235

Please sign in to comment.