Please not use FQCN, add use statement
```
use KrakDevs\WebBundle\Entity\Gallery;
```
And use only ``Gallery`` in method