$annotation->getSettings() is expanded, but the parameter $type of Sonata\AdminBundle\Datagrid\DatagridMapper::add() does not expect variable arguments.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation