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