Skip to content

Commit bdd15c4

Browse files
aneeskhan47github-actions[bot]
authored andcommitted
Fix styling
1 parent 25469af commit bdd15c4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/PaginationMerge.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
namespace Aneeskhan47\PaginationMerge;
44

5+
use Illuminate\Pagination\LengthAwarePaginator;
56
use Illuminate\Support\Arr;
6-
use InvalidArgumentException;
77
use Illuminate\Support\Collection;
8-
use Illuminate\Pagination\LengthAwarePaginator;
8+
use InvalidArgumentException;
99

1010
class PaginationMerge
1111
{
@@ -49,7 +49,7 @@ public function merge($paginators, $pageName = 'page')
4949
$paginators = is_array($paginators) ? $paginators : func_get_args();
5050

5151
foreach ($paginators as $paginator) {
52-
if (!$paginator instanceof LengthAwarePaginator) {
52+
if (! $paginator instanceof LengthAwarePaginator) {
5353
throw new InvalidArgumentException("Only LengthAwarePaginator may be merged.");
5454
}
5555
}

src/PaginationMergeServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function register()
2121
{
2222
// Register the main class to use with the facade
2323
$this->app->singleton('laravel-pagination-merge', function () {
24-
return new PaginationMerge;
24+
return new PaginationMerge();
2525
});
2626
}
2727
}

0 commit comments

Comments
 (0)