File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ class MacroServiceProvider extends ServiceProvider
1515 /**
1616 * Register "lampager" macros.
1717 */
18- public function register ()
18+ public function register (): void
1919 {
20- QueryBuilder::macro ('lampager ' , function () {
20+ QueryBuilder::macro ('lampager ' , function (): Paginator {
2121 /* @var \Illuminate\Database\Query\Builder $this */
2222 return Paginator::create ($ this );
2323 });
24- EloquentBuilder::macro ('lampager ' , function () {
24+ EloquentBuilder::macro ('lampager ' , function (): Paginator {
2525 /* @var \Illuminate\Database\Eloquent\Builder $this */
2626 return Paginator::create ($ this );
2727 });
28- Relation::macro ('lampager ' , function () {
28+ Relation::macro ('lampager ' , function (): Paginator {
2929 /* @var \Illuminate\Database\Eloquent\Relations\Relation $this */
3030 return Paginator::create ($ this );
3131 });
You can’t perform that action at this time.
0 commit comments