Skip to content

Commit e36d36e

Browse files
committed
Ignore phpstan errors
1 parent a1468a7 commit e36d36e

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

src/Manipulation/Traits/Join.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,12 +539,14 @@ private function renderJoinConditionExpression(
539539
return null;
540540
}
541541
if ($clause === 'ON') {
542-
return $this->subquery($expression); // @phpstan-ignore-line
542+
// @phpstan-ignore-next-line
543+
return $this->subquery($expression);
543544
}
544545
// @phpstan-ignore-next-line
545546
foreach ($expression as &$column) {
546547
$column = $this->renderIdentifier($column);
547548
}
548-
return '(' . \implode(', ', $expression) . ')'; // @phpstan-ignore-line
549+
// @phpstan-ignore-next-line
550+
return '(' . \implode(', ', $expression) . ')';
549551
}
550552
}

src/Manipulation/Traits/Where.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,8 @@ private function renderMatchColumns(array | Closure | string $columns) : string
756756
$column = $this->renderIdentifier($column);
757757
}
758758
unset($column);
759-
return \implode(', ', $columns); // @phpstan-ignore-line
759+
// @phpstan-ignore-next-line
760+
return \implode(', ', $columns);
760761
}
761762
if (\is_string($columns)) {
762763
return $this->renderIdentifier($columns);
@@ -936,7 +937,8 @@ private function prepareWhereValues(array $values) : array
936937
? $this->subquery($value)
937938
: $this->database->quote($value);
938939
}
939-
return $values; // @phpstan-ignore-line
940+
// @phpstan-ignore-next-line
941+
return $values;
940942
}
941943

942944
/**

0 commit comments

Comments
 (0)