Formatting fixes and cleanup.
This commit is contained in:
parent
a1e14a3e60
commit
51fb71e469
41 changed files with 394 additions and 392 deletions
|
|
@ -39,12 +39,12 @@ class CardImport extends Command
|
|||
|
||||
try {
|
||||
$json = json_decode($data, false, 8, JSON_THROW_ON_ERROR);
|
||||
} catch(\JsonException $ex) {
|
||||
} catch (\JsonException $ex) {
|
||||
$this->error("Json: " . $ex->getMessage());
|
||||
return;
|
||||
}
|
||||
|
||||
foreach($json as $item) {
|
||||
foreach ($json as $item) {
|
||||
|
||||
$data = [
|
||||
'body' => $item->message,
|
||||
|
|
|
|||
Reference in a new issue