Skip to content

Commit 97699d9

Browse files
author
codeliner
committed
Fix class var not used
1 parent b6a9421 commit 97699d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImmutableRecordDataConverter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function convertArrayToData(string $type, array $data)
4848
{
4949
$class = $this->getClassOfType($type);
5050

51-
return $type::fromArray($data);
51+
return $class::fromArray($data);
5252
}
5353

5454
private function getClassOfType(string $type): string

0 commit comments

Comments
 (0)