Skip to content

Commit 8a907c3

Browse files
authored
Merge pull request #38 from Local-Data-Exchange/feature/fix_return_type_issue
Fixed return type issue when json_decode fails
2 parents bc352c5 + 1a5e0b0 commit 8a907c3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/ApiBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,7 @@ protected function processJsonMappings($arguments, $api): array
517517
'arguments' => $arguments,
518518
'api' => $api,
519519
]);
520+
return [];
520521
}
521522
return $mapping;
522523
}

0 commit comments

Comments
 (0)