Skip to content

Commit

Permalink
[1.x] Uses builder contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGhostHunter committed Apr 10, 2024
1 parent 5a901c7 commit 8f9d75a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 1 addition & 0 deletions src/RefineQuery.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use Laragear\Refine\Contracts\ValidatesRefiner;
use ReflectionMethod;
use ReflectionObject;

use function app;
use function array_flip;
use function array_values;
Expand Down
4 changes: 0 additions & 4 deletions src/Refiner.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ public function getObligatoryKeys(Request $request): array

/**
* Run before the refiner executes its matched methods.
*
* @param \Illuminate\Database\Query\Builder|\Illuminate\Database\Eloquent\Builder $query
* @param \Illuminate\Http\Request $request
* @return void
*/
public function runBefore(Builder|EloquentBuilder $query, Request $request): void
{
Expand Down

0 comments on commit 8f9d75a

Please sign in to comment.