@@ -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 */ |
@@ -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 | { |
@@ -25,8 +25,14 @@ |
||
25 | 25 | */ |
26 | 26 | public function getFieldMappings(): array; |
27 | 27 | |
28 | + /** |
|
29 | + * @return null|CallDefinitionInterface |
|
30 | + */ |
|
28 | 31 | public function getFactory(): ?CallDefinitionInterface; |
29 | 32 | |
33 | + /** |
|
34 | + * @return null|CallDefinitionInterface |
|
35 | + */ |
|
30 | 36 | public function getSerializer(): ?CallDefinitionInterface; |
31 | 37 | |
32 | 38 | } |
@@ -59,6 +59,9 @@ |
||
59 | 59 | return [$this->scalarValue, $this->lorem, $this->dolor]; |
60 | 60 | } |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $amet |
|
64 | + */ |
|
62 | 65 | public function setAmet($amet) |
63 | 66 | { |
64 | 67 | $this->amet = $amet; |
@@ -111,7 +111,7 @@ |
||
111 | 111 | * @param object $entity |
112 | 112 | * @param array<scalar> $dataFromAdditionalColumns |
113 | 113 | * |
114 | - * @return array<mixed> |
|
114 | + * @return callable |
|
115 | 115 | */ |
116 | 116 | private function resolveArguments( |
117 | 117 | array $argumentMappings, |