Passed
Push — master ( c0a3a7...3b84a4 )
by Jeroen
58:51
created

engine/classes/Elgg/Database/Clauses/Clause.php (1 issue)

1
<?php
2
3
namespace Elgg\Database\Clauses;
4
5
use Doctrine\DBAL\Query\Expression\CompositeExpression;
6
use Elgg\Database\QueryBuilder;
7
8
/**
9
 * Interface that allows resolving statements and/or extending query builder
10
 */
11
interface Clause {
12
13
	/**
14
	 * Build an expression and/or apply it to an instance of query builder
15
	 *
16
	 * @param QueryBuilder $qb          Query builder
17
	 * @param null         $table_alias Table alias
0 ignored issues
show
Documentation Bug introduced by
Are you sure the doc-type for parameter $table_alias is correct as it would always require null to be passed?
Loading history...
18
	 *
19
	 * @return CompositeExpression|null|string
20
	 */
21
	public function prepare(QueryBuilder $qb, $table_alias = null);
22
}
23