The type MichaelRubel\EnhancedContainer\Core\MethodBinder was not found. Maybe you did not declare it correctly or list all dependencies?
The issue could also be caused by a filter entry in the build configuration.
If the path has been excluded in your configuration, e.g. excluded_paths:["lib/*"],
you can move it to the dependency path list as follows:
It is generally recommended to explicitly declare the visibility for methods.
Adding explicit visibility (private, protected, or public) is generally
recommend to communicate to other developers how, and from where this method
is intended to be used.
The expression return app(MichaelRubel\...bstract' => $abstract)) could return the type Illuminate\Contracts\Foundation\Application which is incompatible with the type-hinted return MichaelRubel\EnhancedContainer\Core\MethodBinder. Consider adding an additional type-check to rule them out.
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths