Skip to content

Commit

Permalink
Remove int from union type
Browse files Browse the repository at this point in the history
This case is no longer necessary now that we have a ParameterType enum.
  • Loading branch information
greg0ire committed Oct 9, 2024
1 parent dbf26db commit b5c0e01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/QueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1361,8 +1361,8 @@ public function resetDQLPart(string $part): static
* ->orWhere('u.username = ' . $qb->createNamedParameter('Bar', Types::STRING))
* </code>
*
* @param ParameterType|ArrayParameterType|string|int|null $type ParameterType::*, ArrayParameterType::* or \Doctrine\DBAL\Types\Type::* constant
* @param non-empty-string|null $placeholder The name to bind with. The string must start with a colon ':'.
* @param ParameterType|ArrayParameterType|string|null $type ParameterType::*, ArrayParameterType::* or \Doctrine\DBAL\Types\Type::* constant
* @param non-empty-string|null $placeholder The name to bind with. The string must start with a colon ':'.
*
* @return non-empty-string the placeholder name used.
*/
Expand Down

0 comments on commit b5c0e01

Please sign in to comment.