Skip to content

Commit

Permalink
Ignore phpstan errors
Browse files Browse the repository at this point in the history
  • Loading branch information
natanfelles committed Mar 15, 2023
1 parent a1468a7 commit e36d36e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions src/Manipulation/Traits/Join.php
Original file line number Diff line number Diff line change
Expand Up @@ -539,12 +539,14 @@ private function renderJoinConditionExpression(
return null;
}
if ($clause === 'ON') {
return $this->subquery($expression); // @phpstan-ignore-line
// @phpstan-ignore-next-line
return $this->subquery($expression);
}
// @phpstan-ignore-next-line
foreach ($expression as &$column) {
$column = $this->renderIdentifier($column);
}
return '(' . \implode(', ', $expression) . ')'; // @phpstan-ignore-line
// @phpstan-ignore-next-line
return '(' . \implode(', ', $expression) . ')';
}
}
6 changes: 4 additions & 2 deletions src/Manipulation/Traits/Where.php
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,8 @@ private function renderMatchColumns(array | Closure | string $columns) : string
$column = $this->renderIdentifier($column);
}
unset($column);
return \implode(', ', $columns); // @phpstan-ignore-line
// @phpstan-ignore-next-line
return \implode(', ', $columns);
}
if (\is_string($columns)) {
return $this->renderIdentifier($columns);
Expand Down Expand Up @@ -936,7 +937,8 @@ private function prepareWhereValues(array $values) : array
? $this->subquery($value)
: $this->database->quote($value);
}
return $values; // @phpstan-ignore-line
// @phpstan-ignore-next-line
return $values;
}

/**
Expand Down

0 comments on commit e36d36e

Please sign in to comment.