Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into qodana-automation-1753957859
Browse files Browse the repository at this point in the history
  • Loading branch information
phily245 committed Nov 6, 2024
2 parents eb25e5f + 023a497 commit 213d497
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"illuminate/http": "^11.0"
},
"require-dev": {
"phpunit/phpunit": "^10.0",
"phpunit/phpunit": "^10.0 || ^11.0",
"squizlabs/php_codesniffer": "^3.10",
"orchestra/testbench": "^9.0",
"phpmd/phpmd": "^2.1.5",
Expand Down
4 changes: 3 additions & 1 deletion src/ModifiesQueries.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@
namespace UKFast\Sieve;

use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Query\Builder as QueryBuilder;

interface ModifiesQueries
{
/**
* Applies a search term to a query
* @param EloquentBuilder|QueryBuilder $query
* @template TModel of Model
* @param EloquentBuilder<TModel>|QueryBuilder $query
* @return void
*/
public function modifyQuery($query, SearchTerm $search);

Check notice on line 17 in src/ModifiesQueries.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Missing parameter's type declaration

Missing parameter's type declaration

Check notice on line 17 in src/ModifiesQueries.php

View workflow job for this annotation

GitHub Actions / Qodana for PHP

Missing return type declaration

Missing function's return type declaration
Expand Down

0 comments on commit 213d497

Please sign in to comment.