mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 19:13:49 +00:00
apply rector rules: symfony **UP TO** 44
This commit is contained in:
@@ -33,6 +33,10 @@ class Version20150821105642 extends AbstractMigration implements \Symfony\Compon
|
||||
* @var ContainerInterface
|
||||
*/
|
||||
private $container;
|
||||
public function __construct(\Doctrine\DBAL\Connection $connection, \Psr\Log\LoggerInterface $logger, private \Doctrine\ORM\EntityManager $entityManager)
|
||||
{
|
||||
parent::__construct($connection, $logger);
|
||||
}
|
||||
|
||||
public function down(Schema $schema): void
|
||||
{
|
||||
@@ -56,7 +60,7 @@ class Version20150821105642 extends AbstractMigration implements \Symfony\Compon
|
||||
*/
|
||||
return;
|
||||
//transform data from groupcenter_permissionsgroup table
|
||||
$em = $this->container->get('doctrine.orm.entity_manager');
|
||||
$em = $this->entityManager;
|
||||
|
||||
//get all existing associations
|
||||
$rsm = new ResultSetMapping();
|
||||
|
Reference in New Issue
Block a user