Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "brick/json-mapper",
"description": "Maps JSON data to strongly typed PHP DTOs",
"name": "wencagh/json-mapper",
"description": "Maps JSON data to strongly typed PHP DTOs - fork of brick/json-mapper",
"type": "library",
"keywords": [
"Brick",
Expand Down
2 changes: 1 addition & 1 deletion src/JsonMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function map(string $json, string $className): object
*
* @throws JsonMapperException
*/
private function mapToObject(stdClass $jsonData, string $className): object
public function mapToObject(stdClass $jsonData, string $className): object
{
try {
$reflectionClass = new ReflectionClass($className);
Expand Down