@@ -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 | { |
@@ -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; |
@@ -21,6 +21,9 @@ discard block |
||
21 | 21 | |
22 | 22 | public function getClassName(): string; |
23 | 23 | |
24 | + /** |
|
25 | + * @return null|Column |
|
26 | + */ |
|
24 | 27 | public function getDBALColumn(): ?Column; |
25 | 28 | |
26 | 29 | /** |
@@ -28,12 +31,24 @@ discard block |
||
28 | 31 | */ |
29 | 32 | public function getFieldMappings(): array; |
30 | 33 | |
34 | + /** |
|
35 | + * @return null|CallDefinitionInterface |
|
36 | + */ |
|
31 | 37 | public function getFactory(): ?CallDefinitionInterface; |
32 | 38 | |
39 | + /** |
|
40 | + * @return null|CallDefinitionInterface |
|
41 | + */ |
|
33 | 42 | public function getSerializer(): ?CallDefinitionInterface; |
34 | 43 | |
44 | + /** |
|
45 | + * @return null|string |
|
46 | + */ |
|
35 | 47 | public function getId(): ?string; |
36 | 48 | |
49 | + /** |
|
50 | + * @return null|string |
|
51 | + */ |
|
37 | 52 | public function getReferencedId(): ?string; |
38 | 53 | |
39 | 54 | } |
@@ -138,7 +138,7 @@ |
||
138 | 138 | * @param array<MappingInterface> $argumentMappings |
139 | 139 | * @param array<scalar> $dataFromAdditionalColumns |
140 | 140 | * |
141 | - * @return array<mixed> |
|
141 | + * @return callable |
|
142 | 142 | */ |
143 | 143 | private function resolveArguments( |
144 | 144 | array $argumentMappings, |
@@ -19,7 +19,6 @@ |
||
19 | 19 | { |
20 | 20 | |
21 | 21 | /** |
22 | - * @param object $entity |
|
23 | 22 | * @param array<scalar> $dataFromAdditionalColumns |
24 | 23 | * |
25 | 24 | * @return mixed |