| @@ 125-136 (lines=12) @@ | ||
| 122 | return $data; |
|
| 123 | } |
|
| 124 | ||
| 125 | public function assertValue( |
|
| 126 | HydrationContextInterface $context, |
|
| 127 | array $dataFromAdditionalColumns, |
|
| 128 | $actualValue |
|
| 129 | ): void { |
|
| 130 | if (!is_array($actualValue) && !is_null($actualValue)) { |
|
| 131 | throw FailedRDMAssertionException::expectedArray( |
|
| 132 | $actualValue, |
|
| 133 | $this->origin |
|
| 134 | ); |
|
| 135 | } |
|
| 136 | } |
|
| 137 | ||
| 138 | public function wakeUpMapping(ContainerInterface $container): void |
|
| 139 | { |
|
| @@ 141-152 (lines=12) @@ | ||
| 138 | return $data; |
|
| 139 | } |
|
| 140 | ||
| 141 | public function assertValue( |
|
| 142 | HydrationContextInterface $context, |
|
| 143 | array $dataFromAdditionalColumns, |
|
| 144 | $actualValue |
|
| 145 | ): void { |
|
| 146 | if (!is_array($actualValue) && !is_null($actualValue)) { |
|
| 147 | throw FailedRDMAssertionException::expectedArray( |
|
| 148 | $actualValue, |
|
| 149 | $this->origin |
|
| 150 | ); |
|
| 151 | } |
|
| 152 | } |
|
| 153 | ||
| 154 | public function wakeUpMapping(ContainerInterface $container): void |
|
| 155 | { |
|