I would like to simplify the controller by adding MapEntity but I encounter the error below:
Controller "App\Controller\Admin\BlogController::index" requires that you provide a value for the "$authorPosts" argument. Either the argument is nullable and no null value has been provided, no default value has been provided or there is a non-optional argument after this one.
Hi,
I would like to simplify the controller by adding MapEntity but I encounter the error below:
Controller "App\Controller\Admin\BlogController::index" requires that you provide a value for the "$authorPosts" argument. Either the argument is nullable and no null value has been provided, no default value has been provided or there is a non-optional argument after this one.
I use Symfony docs : https://symfony.com/doc/current/doctrine.html#fetch-via-an-expression:
Could you help me finalize the PR?
EDIT
This PR is a reproducer for