Skip to content

Commit

Permalink
Fix using deprecated syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed May 6, 2022
1 parent a1a84d1 commit 73eec6d
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 73eec6d

Please sign in to comment.