Skip to content

Commit

Permalink
Fix code styling [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondfrancis authored and github-actions[bot] committed Aug 2, 2022
1 parent 7695b7c commit 62078fe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/ScoutMixin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,12 @@

namespace Hammerstone\FastPaginate;

use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\HasManyThrough;

class ScoutMixin
{
public function fastPaginate($perPage = null, $pageName = 'page', $page = null)
{
return function ($perPage = null, $pageName = 'page', $page = null) {
// Just defer to the Scout Builder for DX purposes.
// Just defer to the Scout Builder for DX purposes.
$this->paginate($perPage, $pageName, $page);
};
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Integration/BaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected function getPackageProviders($app)
{
return [
FastPaginateProvider::class,
ScoutServiceProvider::class
ScoutServiceProvider::class,
];
}

Expand Down
1 change: 0 additions & 1 deletion tests/Support/UserScout.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@ public function toSearchableArray()
{
return $this->toArray();
}

}

0 comments on commit 62078fe

Please sign in to comment.