Skip to content

Commit

Permalink
Doctrine 3 require first parameter to be string (#1155)
Browse files Browse the repository at this point in the history
  • Loading branch information
urbasekd authored Nov 14, 2024
1 parent bec1452 commit af2dc7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataSource/DoctrineDataSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ protected function applyFilterText(FilterText $filter): void

foreach ($words as $word) {
$exprs[] = $this->dataSource->expr()->like(
$this->dataSource->expr()->lower($c),
(string) $this->dataSource->expr()->lower($c),
$this->dataSource->expr()->lower(
$this->dataSource->expr()->literal('%' . $word . '%')
)
Expand Down

0 comments on commit af2dc7a

Please sign in to comment.