mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
apply rector rules
This commit is contained in:
@@ -32,8 +32,6 @@ class ThirdPartyTypeManager
|
||||
* Add a provider to the manager.
|
||||
*
|
||||
* Method used during the load of the manager by Dependency Injection
|
||||
*
|
||||
* @param \Chill\ThirdPartyBundle\ThirdPartyType\ThirdPartyTypeProviderInterface $provider
|
||||
*/
|
||||
public function addProvider(ThirdPartyTypeProviderInterface $provider): self
|
||||
{
|
||||
|
@@ -21,7 +21,7 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
final class Version20230215175150 extends AbstractMigration implements ContainerAwareInterface
|
||||
{
|
||||
public ContainerInterface $container;
|
||||
public function __construct(\Doctrine\DBAL\Connection $connection, \Psr\Log\LoggerInterface $logger, private \Doctrine\ORM\EntityManager $entityManager)
|
||||
public function __construct(\Doctrine\DBAL\Connection $connection, \Psr\Log\LoggerInterface $logger, private readonly \Doctrine\ORM\EntityManager $entityManager)
|
||||
{
|
||||
parent::__construct($connection, $logger);
|
||||
}
|
||||
|
Reference in New Issue
Block a user