QafooLabs / QafooLabsNoFrameworkBundle

Bundle to use Symfony controllers without depending on the Framework. Moved to GyroProject MVC-Bundle
https://github.com/gyro-project/mvc-bundle
123 stars 13 forks source link

Type error: ReflectionFunction when using defaults _controller #34

Open pdoreau opened 4 years ago

pdoreau commented 4 years ago

I've just installed Nelmio Api Doc on a symfony 3.4 project. An error occurs when loading the doc home page : Type error: ReflectionFunction::__construct() expects parameter 1 to be string, object given in vendor/qafoolabs/no-framework-bundle/src/QafooLabs/Bundle/NoFrameworkBundle/EventListener/ParamConverterListener.php (line 38) ReflectionFunction->__construct(object(SwaggerUiController)) in vendor/qafoolabs/no-framework-bundle/src/QafooLabs/Bundle/NoFrameworkBundle/EventListener/ParamConverterListener.php (line 38)

I did what the Nelmio doc recommends to configure the routing.

Is there anything I can do ?