Skip to content

Commit 1465bd2

Browse files
authored
make mapToObject public
1 parent 6351764 commit 1465bd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JsonMapper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public function map(string $json, string $className): object
106106
*
107107
* @throws JsonMapperException
108108
*/
109-
private function mapToObject(stdClass $jsonData, string $className): object
109+
public function mapToObject(stdClass $jsonData, string $className): object
110110
{
111111
try {
112112
$reflectionClass = new ReflectionClass($className);

0 commit comments

Comments
 (0)