@@ -5,9 +5,6 @@ |
||
| 5 | 5 | use Sonata\AdminBundle\Form\FormMapper; |
| 6 | 6 | use Sonata\AdminBundle\Form\Type\ModelListType; |
| 7 | 7 | use Sonata\MediaBundle\Admin\GalleryHasMediaAdmin as BaseGalleryHasMediaAdmin; |
| 8 | -use Symfony\Component\Form\Extension\Core\Type\CheckboxType; |
|
| 9 | -use Symfony\Component\Form\Extension\Core\Type\ChoiceType; |
|
| 10 | -use Symfony\Component\Form\Extension\Core\Type\TextType; |
|
| 11 | 8 | |
| 12 | 9 | class GalleryHasMediaAdmin extends BaseGalleryHasMediaAdmin |
| 13 | 10 | { |
@@ -142,7 +142,7 @@ discard block |
||
| 142 | 142 | } |
| 143 | 143 | |
| 144 | 144 | /** |
| 145 | - * @return mixed |
|
| 145 | + * @return string |
|
| 146 | 146 | */ |
| 147 | 147 | public function getYear() |
| 148 | 148 | { |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | /** |
| 176 | 176 | * Get galleryHasMedia |
| 177 | 177 | * |
| 178 | - * @return \Doctrine\Common\Collections\Collection |
|
| 178 | + * @return GalleryHasMedia |
|
| 179 | 179 | */ |
| 180 | 180 | public function getGalleryHasMedia() |
| 181 | 181 | { |
@@ -124,7 +124,7 @@ |
||
| 124 | 124 | /** |
| 125 | 125 | * Get galleryHasMedia |
| 126 | 126 | * |
| 127 | - * @return \Doctrine\Common\Collections\Collection |
|
| 127 | + * @return GalleryHasMedia |
|
| 128 | 128 | */ |
| 129 | 129 | public function getGalleryHasMedia() |
| 130 | 130 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use App\Entity\PerformanceEvent; |
| 6 | 6 | use App\Entity\RepertoireSeason; |
| 7 | -use App\Repository\RepertoireSeasonRepository; |
|
| 8 | 7 | use Doctrine\Common\EventSubscriber; |
| 9 | 8 | use Doctrine\ORM\Event\OnFlushEventArgs; |
| 10 | 9 | use Doctrine\ORM\Events; |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | use Doctrine\ORM\EntityManagerInterface; |
| 8 | 8 | use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; |
| 9 | 9 | use Symfony\Component\HttpFoundation\Request; |
| 10 | -use Symfony\Component\HttpKernel\Event\GetResponseEvent; |
|
| 11 | 10 | use Symfony\Component\HttpKernel\Event\RequestEvent; |
| 12 | 11 | use Symfony\Component\HttpKernel\HttpKernelInterface; |
| 13 | 12 | use Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface; |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | use App\Entity\Translations\EmployeeGroupTranslation; |
| 12 | 12 | use Doctrine\DBAL\Schema\Schema; |
| 13 | 13 | use Doctrine\Migrations\AbstractMigration; |
| 14 | -use Sonata\TranslationBundle\Model\Gedmo\AbstractPersonalTranslation; |
|
| 15 | 14 | use Symfony\Component\Yaml\Yaml; |
| 16 | 15 | |
| 17 | 16 | /** |