@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | - * @param object $entity |
|
| 73 | + * @param \Addiks\RDMBundle\Tests\Hydration\EntityExample $entity |
|
| 74 | 74 | */ |
| 75 | 75 | public function loadDBALDataForEntity($entity, EntityManagerInterface $entityManager): array |
| 76 | 76 | { |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | } |
| 164 | 164 | |
| 165 | 165 | /** |
| 166 | - * @param object $entity |
|
| 166 | + * @param \Addiks\RDMBundle\Tests\Hydration\EntityExample $entity |
|
| 167 | 167 | */ |
| 168 | 168 | public function storeDBALDataForEntity($entity, EntityManagerInterface $entityManager): void |
| 169 | 169 | { |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | |
| 44 | 44 | ( |
| 45 | 45 | /** |
| 46 | - * @param mixed $rdmMapping |
|
| 46 | + * @param string $rdmMapping |
|
| 47 | 47 | */ |
| 48 | 48 | function (&$rdmMapping) use ($mappingFile): void { |
| 49 | 49 | /** @psalm-suppress UnresolvableInclude */ |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | |
| 44 | 44 | $builder->addModelTransformer(new CallbackTransformer( |
| 45 | 45 | /** |
| 46 | - * @param object $service |
|
| 46 | + * @param FormBuilderInterface $service |
|
| 47 | 47 | */ |
| 48 | 48 | function ($service) use ($container, $options): ?string { |
| 49 | 49 | /** @var ?string $serviceId */ |
@@ -23,9 +23,7 @@ |
||
| 23 | 23 | use Doctrine\ORM\Query\Expr; |
| 24 | 24 | use Doctrine\DBAL\Driver\Statement; |
| 25 | 25 | use PHPUnit\Framework\TestCase; |
| 26 | -use Addiks\RDMBundle\Mapping\ServiceMapping; |
|
| 27 | 26 | use Doctrine\ORM\UnitOfWork; |
| 28 | -use Addiks\RDMBundle\Tests\Hydration\ServiceExample; |
|
| 29 | 27 | |
| 30 | 28 | final class DataSimpleSelectLoaderTest extends TestCase |
| 31 | 29 | { |
@@ -13,14 +13,11 @@ |
||
| 13 | 13 | use PHPUnit\Framework\TestCase; |
| 14 | 14 | use Addiks\RDMBundle\Hydration\EntityHydrator; |
| 15 | 15 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
| 16 | -use Addiks\RDMBundle\Mapping\Annotation\Service; |
|
| 17 | 16 | use Addiks\RDMBundle\Tests\Hydration\ServiceExample; |
| 18 | 17 | use Addiks\RDMBundle\Tests\Hydration\EntityExample; |
| 19 | -use ErrorException; |
|
| 20 | 18 | use Addiks\RDMBundle\Mapping\ServiceMapping; |
| 21 | 19 | use Addiks\RDMBundle\Mapping\EntityMapping; |
| 22 | 20 | use Addiks\RDMBundle\ValueResolver\ValueResolverInterface; |
| 23 | -use Addiks\RDMBundle\Exception\FailedRDMAssertionExceptionInterface; |
|
| 24 | 21 | use Addiks\RDMBundle\DataLoader\DataLoaderInterface; |
| 25 | 22 | use Doctrine\ORM\EntityManagerInterface; |
| 26 | 23 | |
@@ -44,7 +44,6 @@ |
||
| 44 | 44 | use Addiks\RDMBundle\Tests\Hydration\ServiceExample; |
| 45 | 45 | use Addiks\RDMBundle\Mapping\Annotation\Service; |
| 46 | 46 | use Addiks\RDMBundle\Exception\FailedRDMAssertionExceptionInterface; |
| 47 | -use Doctrine\ORM\Event\OnFlushEventArgs; |
|
| 48 | 47 | use Doctrine\ORM\UnitOfWork; |
| 49 | 48 | use Doctrine\DBAL\Connection; |
| 50 | 49 | use Doctrine\DBAL\Statement; |
@@ -11,8 +11,6 @@ |
||
| 11 | 11 | namespace Addiks\RDMBundle\Tests\Mapping\DriverFactories; |
| 12 | 12 | |
| 13 | 13 | use PHPUnit\Framework\TestCase; |
| 14 | -use Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryInterface; |
|
| 15 | -use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
|
| 16 | 14 | use Addiks\RDMBundle\Mapping\DriverFactories\MappingAnnotationDriverFactory; |
| 17 | 15 | use Addiks\RDMBundle\Mapping\Drivers\MappingAnnotationDriver; |
| 18 | 16 | use Doctrine\ORM\Mapping\Driver\AnnotationDriver; |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryInterface; |
| 15 | 15 | use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver; |
| 16 | 16 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
| 17 | -use Addiks\RDMBundle\Tests\Hydration\EntityExample; |
|
| 18 | 17 | use Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryAggregate; |
| 19 | 18 | |
| 20 | 19 | final class MappingDriverFactoryAggregateTest extends TestCase |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryInterface; |
| 15 | 15 | use Doctrine\Common\Persistence\Mapping\Driver\MappingDriver; |
| 16 | 16 | use Addiks\RDMBundle\Mapping\Drivers\MappingDriverInterface; |
| 17 | -use Addiks\RDMBundle\Tests\Hydration\EntityExample; |
|
| 18 | 17 | use Addiks\RDMBundle\Mapping\DriverFactories\MappingDriverFactoryLazyLoadProxy; |
| 19 | 18 | use Symfony\Component\DependencyInjection\ContainerInterface; |
| 20 | 19 | |