Skip to content

Commit c72442a

Browse files
committed
change badge
1 parent 566b156 commit c72442a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PTS/DataTransformer/DataTransformer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ protected function resolveRefExtract(array $dto, array $rules): array
9494

9595
protected function extractRefValue(array $refRules, $value, array $rule): array
9696
{
97-
if (array_key_exists('collection', $rule['ref']) && $rule['ref']['collection']) {
97+
if (array_key_exists('collection', $rule['ref']) && $rule['ref']['collection'] === true) {
9898
$refDTO = array_map(function($item) use ($refRules) {
9999
return $this->hydratorService->extract($item, $refRules);
100100
}, $value);

0 commit comments

Comments
 (0)