Skip to content

Commit e12e2ae

Browse files
committed
Make psalm happy
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
1 parent 3fd9d0d commit e12e2ae

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

lib/private/DB/QueryBuilder/QueryBuilder.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
use OC\DB\ResultAdapter;
4949
use OC\SystemConfig;
5050
use OCP\DB\IResult;
51+
use OCP\DB\QueryBuilder\ICompositeExpression;
5152
use OCP\DB\QueryBuilder\ILiteral;
5253
use OCP\DB\QueryBuilder\IParameter;
5354
use OCP\DB\QueryBuilder\IQueryBuilder;
@@ -282,7 +283,7 @@ public function execute() {
282283
'app' => 'core',
283284
]);
284285
}
285-
286+
286287
$result = $this->queryBuilder->execute();
287288
if (is_int($result)) {
288289
return $result;
@@ -720,7 +721,7 @@ public function innerJoin($fromAlias, $join, $alias, $condition = null) {
720721
* @param string $fromAlias The alias that points to a from clause.
721722
* @param string $join The table name to join.
722723
* @param string $alias The alias of the join table.
723-
* @param string $condition The condition for the join.
724+
* @param string|null|ICompositeExpression $condition The condition for the join.
724725
*
725726
* @return $this This QueryBuilder instance.
726727
*/

lib/public/DB/QueryBuilder/IQueryBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ public function innerJoin($fromAlias, $join, $alias, $condition = null);
492492
* @param string $fromAlias The alias that points to a from clause.
493493
* @param string $join The table name to join.
494494
* @param string $alias The alias of the join table.
495-
* @param string $condition The condition for the join.
495+
* @param string|null|ICompositeExpression $condition The condition for the join.
496496
*
497497
* @return $this This QueryBuilder instance.
498498
* @since 8.2.0

0 commit comments

Comments
 (0)