Skip to content

Commit

Permalink
Remove examples
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMorel committed Jan 27, 2020
1 parent 6b36973 commit 2c69e55
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/Doctrine/DBAL/Query/Expression/ExpressionBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ public function __construct(Connection $connection)
/**
* Creates a conjunction of the given expressions.
*
* Example:
*
* [php]
* // (u.type = ?) AND (u.role = ?)
* $expr->andX('u.type = ?', 'u.role = ?'));
*
* @param string|CompositeExpression ...$expressions Requires at least one defined when converting to string.
*/
public function and(...$expressions) : CompositeExpression
Expand All @@ -57,12 +51,6 @@ public function and(...$expressions) : CompositeExpression
/**
* Creates a disjunction of the given expressions.
*
* Example:
*
* [php]
* // (u.type = ?) OR (u.role = ?)
* $qb->where($qb->expr()->orX('u.type = ?', 'u.role = ?'));
*
* @param string|CompositeExpression ...$expressions Requires at least one defined when converting to string.
*/
public function or(...$expressions) : CompositeExpression
Expand Down

0 comments on commit 2c69e55

Please sign in to comment.