@@ -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; |
@@ -41,6 +41,7 @@ discard block |
||
| 41 | 41 | * (The same object may occur in multiple different locations in an object graph.) |
| 42 | 42 | * |
| 43 | 43 | * @param mixed $value |
| 44 | + * @return void |
|
| 44 | 45 | */ |
| 45 | 46 | public function registerValue(string $id, $value): void; |
| 46 | 47 | |
@@ -70,6 +71,7 @@ discard block |
||
| 70 | 71 | |
| 71 | 72 | /** |
| 72 | 73 | * @param object|string|null $value |
| 74 | + * @return void |
|
| 73 | 75 | */ |
| 74 | 76 | public function pushOnObjectHydrationStack($value): void; |
| 75 | 77 | |
@@ -779,6 +779,9 @@ |
||
| 779 | 779 | return is_object($attributeNode); |
| 780 | 780 | } |
| 781 | 781 | |
| 782 | + /** |
|
| 783 | + * @param string $default |
|
| 784 | + */ |
|
| 782 | 785 | private function readAttributeValue(DOMNode $node, string $attributeName, ?string $default = null): ?string |
| 783 | 786 | { |
| 784 | 787 | /** @var DOMNamedNodeMap $nodeAttributes */ |
@@ -71,6 +71,7 @@ discard block |
||
| 71 | 71 | * @param mixed $actualValue |
| 72 | 72 | * |
| 73 | 73 | * @throws FailedRDMAssertionExceptionInterface |
| 74 | + * @return void |
|
| 74 | 75 | */ |
| 75 | 76 | public function assertValue( |
| 76 | 77 | HydrationContextInterface $context, |
@@ -84,6 +85,7 @@ discard block |
||
| 84 | 85 | * |
| 85 | 86 | * This method gets called directly after unserializing a mapping-object when loading it from cache. |
| 86 | 87 | * It allows the mapping-objects to re-fill themself with other objects that may not be able to get serialized. |
| 88 | + * @return void |
|
| 87 | 89 | */ |
| 88 | 90 | public function wakeUpMapping(ContainerInterface $container): void; |
| 89 | 91 | |