Skip to content

Commit f6404c8

Browse files
committed
make mapToObject public
1 parent baa200d commit f6404c8

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
@@ -122,7 +122,7 @@ public function map(string $json, string $className): object
122122
*
123123
* @throws JsonMapperException
124124
*/
125-
private function mapToObject(stdClass $jsonData, string $className): object
125+
public function mapToObject(stdClass $jsonData, string $className): object
126126
{
127127
try {
128128
$reflectionClass = new ReflectionClass($className);

0 commit comments

Comments
 (0)