@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | } |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * @param object $entity |
|
| 72 | + * @param \Addiks\RDMBundle\Tests\Hydration\EntityExample $entity |
|
| 73 | 73 | */ |
| 74 | 74 | public function loadDBALDataForEntity($entity, EntityManagerInterface $entityManager): array |
| 75 | 75 | { |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | /** |
| 163 | - * @param object $entity |
|
| 163 | + * @param \Addiks\RDMBundle\Tests\Hydration\EntityExample $entity |
|
| 164 | 164 | */ |
| 165 | 165 | public function storeDBALDataForEntity($entity, EntityManagerInterface $entityManager): void |
| 166 | 166 | { |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | } |
| 198 | 198 | |
| 199 | 199 | /** |
| 200 | - * @param object $entity |
|
| 200 | + * @param \Addiks\RDMBundle\Tests\Hydration\EntityExample $entity |
|
| 201 | 201 | */ |
| 202 | 202 | public function removeDBALDataForEntity($entity, EntityManagerInterface $entityManager): void |
| 203 | 203 | { |
@@ -23,7 +23,6 @@ |
||
| 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 | 27 | use Addiks\RDMBundle\Tests\Hydration\ServiceExample; |
| 29 | 28 | |
@@ -219,7 +219,7 @@ |
||
| 219 | 219 | $this->valueResolver->method("revertValue")->will($this->returnValueMap([ |
| 220 | 220 | [$this->mappings['foo'], $entity, "some_ipsum_service", ["foo_column" => "ipsum"]], |
| 221 | 221 | [$this->mappings['bar'], $entity, "some_dolor_service", ["bar_column" => "dolor"]], |
| 222 | - [$this->mappings['faz'], $entity, $fazService, ["faz_column" => "sit"]], |
|
| 222 | + [$this->mappings['faz'], $entity, $fazService, ["faz_column" => "sit"]], |
|
| 223 | 223 | ])); |
| 224 | 224 | |
| 225 | 225 | $this->connection->expects($this->once())->method("update")->with( |