Index: vendor/tetranz/select2entity-bundle/Form/Type/Select2EntityType.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/vendor/tetranz/select2entity-bundle/Form/Type/Select2EntityType.php b/vendor/tetranz/select2entity-bundle/Form/Type/Select2EntityType.php
--- a/vendor/tetranz/select2entity-bundle/Form/Type/Select2EntityType.php
+++ b/vendor/tetranz/select2entity-bundle/Form/Type/Select2EntityType.php	(date 1689586716506)
@@ -2,7 +2,7 @@

 namespace Tetranz\Select2EntityBundle\Form\Type;

-use Doctrine\Common\Persistence\ObjectManager;
+use Doctrine\ORM\EntityManagerInterface;
 use Symfony\Component\Form\AbstractType;
 use Symfony\Component\Form\DataTransformerInterface;
 use Symfony\Component\Form\FormBuilderInterface;
@@ -22,7 +22,7 @@
  */
 class Select2EntityType extends AbstractType
 {
-    /** @var ObjectManager */
+    /** @var EntityManagerInterface */
     protected $em;
     /** @var RouterInterface */
     protected $router;
@@ -30,11 +30,11 @@
     protected $config;

     /**
-     * @param ObjectManager $em
+     * @param EntityManagerInterface $em
      * @param RouterInterface        $router
      * @param array                  $config
      */
-    public function __construct(ObjectManager $em, RouterInterface $router, $config)
+    public function __construct(EntityManagerInterface $em, RouterInterface $router, $config)
     {
         $this->em = $em;
         $this->router = $router;

Index: vendor/tetranz/select2entity-bundle/Form/DataTransformer/EntityToPropertyTransformer.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/vendor/tetranz/select2entity-bundle/Form/DataTransformer/EntityToPropertyTransformer.php b/vendor/tetranz/select2entity-bundle/Form/DataTransformer/EntityToPropertyTransformer.php
--- a/vendor/tetranz/select2entity-bundle/Form/DataTransformer/EntityToPropertyTransformer.php
+++ b/vendor/tetranz/select2entity-bundle/Form/DataTransformer/EntityToPropertyTransformer.php	(date 1689586892071)
@@ -2,7 +2,7 @@

 namespace Tetranz\Select2EntityBundle\Form\DataTransformer;

-use Doctrine\Common\Persistence\ObjectManager;
+use Doctrine\ORM\EntityManagerInterface;
 use Symfony\Component\Form\DataTransformerInterface;
 use Symfony\Component\Form\Exception\TransformationFailedException;
 use Symfony\Component\PropertyAccess\PropertyAccess;
@@ -17,7 +17,7 @@
  */
 class EntityToPropertyTransformer implements DataTransformerInterface
 {
-    /** @var ObjectManager */
+    /** @var EntityManagerInterface */
     protected $em;
     /** @var  string */
     protected $className;
@@ -33,13 +33,13 @@
     protected $accessor;

     /**
-     * @param ObjectManager $em
+     * @param EntityManagerInterface $em
      * @param string                 $class
      * @param string|null            $textProperty
      * @param string                 $primaryKey
      * @param string                 $newTagPrefix
      */
-    public function __construct(ObjectManager $em, $class, $textProperty = null, $primaryKey = 'id', $newTagPrefix = '__', $newTagText = ' (NEW)')
+    public function __construct(EntityManagerInterface $em, $class, $textProperty = null, $primaryKey = 'id', $newTagPrefix = '__', $newTagText = ' (NEW)')
     {
         $this->em = $em;
         $this->className = $class;


Index: vendor/tetranz/select2entity-bundle/Form/DataTransformer/EntitiesToPropertyTransformer.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/vendor/tetranz/select2entity-bundle/Form/DataTransformer/EntitiesToPropertyTransformer.php b/vendor/tetranz/select2entity-bundle/Form/DataTransformer/EntitiesToPropertyTransformer.php
--- a/vendor/tetranz/select2entity-bundle/Form/DataTransformer/EntitiesToPropertyTransformer.php
+++ b/vendor/tetranz/select2entity-bundle/Form/DataTransformer/EntitiesToPropertyTransformer.php	(date 1689586844588)
@@ -2,7 +2,7 @@

 namespace Tetranz\Select2EntityBundle\Form\DataTransformer;

-use Doctrine\Common\Persistence\ObjectManager;
+use Doctrine\ORM\EntityManagerInterface;
 use Symfony\Component\Form\DataTransformerInterface;
 use Symfony\Component\Form\Exception\TransformationFailedException;
 use Symfony\Component\PropertyAccess\PropertyAccess;
@@ -16,7 +16,7 @@
  */
 class EntitiesToPropertyTransformer implements DataTransformerInterface
 {
-    /** @var ObjectManager */
+    /** @var EntityManagerInterface */
     protected $em;
     /** @var  string */
     protected $className;
@@ -32,13 +32,13 @@
     protected $accessor;

     /**
-     * @param ObjectManager $em
+     * @param EntityManagerInterface $em
      * @param string $class
      * @param string|null $textProperty
      * @param string $primaryKey
      * @param string $newTagPrefix
      */
-    public function __construct(ObjectManager $em, $class, $textProperty = null, $primaryKey = 'id', $newTagPrefix = '__', $newTagText = ' (NEW)')
+    public function __construct(EntityManagerInterface $em, $class, $textProperty = null, $primaryKey = 'id', $newTagPrefix = '__', $newTagText = ' (NEW)')
     {
         $this->em = $em;
         $this->className = $class;
