Skip to content

Commit

Permalink
Merge pull request #4979 from greg0ire/fix-inaccurate-phpdoc
Browse files Browse the repository at this point in the history
Remove unwanted colon in code samples
  • Loading branch information
derrabus committed Nov 10, 2021
2 parents 0703eca + 306eab3 commit dcbad31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Query/QueryBuilder.php
Expand Up @@ -405,7 +405,7 @@ public function getSQL()
* ->select('u')
* ->from('users', 'u')
* ->where('u.id = :user_id')
* ->setParameter(':user_id', 1);
* ->setParameter('user_id', 1);
* </code>
*
* @param int|string $key Parameter position or name
Expand Down Expand Up @@ -434,8 +434,8 @@ public function setParameter($key, $value, $type = null)
* ->from('users', 'u')
* ->where('u.id = :user_id1 OR u.id = :user_id2')
* ->setParameters(array(
* ':user_id1' => 1,
* ':user_id2' => 2
* 'user_id1' => 1,
* 'user_id2' => 2
* ));
* </code>
*
Expand Down

0 comments on commit dcbad31

Please sign in to comment.