Open
Description
Versions:
- ide-helper Version: 3.2
- Laravel Version: 11.9
- PHP Version: 8.3
Description:
Calling cursorPaginate()
returns the Contract type but the actual instance has more methods (e.g. the through()
method).
Steps To Reproduce:
$paginator = SomeModel::all()->cursorPaginate(10);
// shows error in ide
$paginator->through(function ($model) {
//
});