The expression return take(new Syscodes...ion(...) { /* ... */ }) also could return the type Syscodes\Components\Support\HigherOrderTakeProxy which is incompatible with the documented return type Syscodes\Components\Debu...ers\PleasingPageHandler.
It seems like config('app.editor') can also be of type Syscodes\Components\Config\Configure; however, parameter $editor of Syscodes\Components\Debu...ageHandler::setEditor() does only seem to accept string, maybe add an additional type check?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation