Skip to content

Commit

Permalink
Merge pull request #38 from Local-Data-Exchange/feature/fix_return_ty…
Browse files Browse the repository at this point in the history
…pe_issue

Fixed return type issue when json_decode fails
  • Loading branch information
munir131 authored Aug 27, 2020
2 parents bc352c5 + 1a5e0b0 commit 8a907c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ApiBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ protected function processJsonMappings($arguments, $api): array
'arguments' => $arguments,
'api' => $api,
]);
return [];
}
return $mapping;
}
Expand Down

0 comments on commit 8a907c3

Please sign in to comment.