We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6a9421 commit 97699d9Copy full SHA for 97699d9
src/ImmutableRecordDataConverter.php
@@ -48,7 +48,7 @@ public function convertArrayToData(string $type, array $data)
48
{
49
$class = $this->getClassOfType($type);
50
51
- return $type::fromArray($data);
+ return $class::fromArray($data);
52
}
53
54
private function getClassOfType(string $type): string
0 commit comments