We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd8ab32 commit b1b4583Copy full SHA for b1b4583
phpstan.neon.dist
@@ -8,3 +8,5 @@ parameters:
8
- config
9
- database
10
tmpDir: build/phpstan
11
+ ignoreErrors:
12
+ - '#Trait Maize\\Searchable\\HasSearch is used zero times and is not analysed\.#'
src/SearchBuilder.php
@@ -103,6 +103,7 @@ protected function querySearchTerms(array $searchTerms): self
103
*/
104
protected function orderSearchQuery(): self
105
{
106
+ /* @phpstan-ignore-next-line */
107
return $this->orderBy(function ($query) {
108
$tableName = $this->getModel()->getTable();
109
$tableKey = $this->getModel()->getKeyName();
0 commit comments