Skip to content

Commit b1b4583

Browse files
wip
1 parent dd8ab32 commit b1b4583

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

phpstan.neon.dist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ parameters:
88
- config
99
- database
1010
tmpDir: build/phpstan
11+
ignoreErrors:
12+
- '#Trait Maize\\Searchable\\HasSearch is used zero times and is not analysed\.#'

src/SearchBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ protected function querySearchTerms(array $searchTerms): self
103103
*/
104104
protected function orderSearchQuery(): self
105105
{
106+
/* @phpstan-ignore-next-line */
106107
return $this->orderBy(function ($query) {
107108
$tableName = $this->getModel()->getTable();
108109
$tableKey = $this->getModel()->getKeyName();

0 commit comments

Comments
 (0)