Skip to content

Commit f8de25f

Browse files
committed
fixed user func call to respect arguments
1 parent a43a971 commit f8de25f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DsTrinityDataBundle/Resource/FieldTransformer/Object/ObjectRelationsGetterExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function transformData(string $dispatchTransformerName, ResourceContainer
4848
return null;
4949
}
5050

51-
$values[] = call_user_func([$relation, $this->options['method']], $this->options['arguments']);
51+
$values[] = call_user_func_array([$relation, $this->options['method']], $this->options['arguments']);
5252
}
5353

5454
return $values;

0 commit comments

Comments
 (0)