Skip to content

Commit

Permalink
Update:refactor ServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-fathi committed Aug 16, 2024
1 parent c9e2072 commit ac3b767
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function register(): void
/**
* Configure package paths.
*/
private function configurePaths()
private function configurePaths(): void
{
$this->publishes([
__DIR__ . '/config/config.php' => config_path('eloquentFilter.php'),
Expand Down Expand Up @@ -67,7 +67,6 @@ private function registerAllDependencies(): void
/* @var $queryFilterCoreFactory QueryFilterCoreFactory */
$queryFilterCoreFactory = app(QueryFilterCoreFactory::class);

/* @var $mainQueryFilterBuilder MainQueryFilterBuilder */
$mainQueryFilterBuilder = $this->setMainQueryFilterBuilder();

$this->attachFilterToQueryBuilder($mainQueryFilterBuilder, $queryFilterCoreFactory);
Expand Down

0 comments on commit ac3b767

Please sign in to comment.