Skip to content

Commit 36cea8b

Browse files
authored
fix: JSON export region_id type consistency (#957)
1 parent f03a0aa commit 36cea8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/Commands/ExportJson.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
282282
// Pushing it into Fresh Array
283283
$subregionsArray[$s]['id'] = (int)$row['id'];
284284
$subregionsArray[$s]['name'] = $row['name'];
285-
$subregionsArray[$s]['region_id'] = $row['region_id'];
285+
$subregionsArray[$s]['region_id'] = (int)$row['region_id'];
286286
$subregionsArray[$s]['translations'] = json_decode($row['translations'], true);
287287
$subregionsArray[$s]['wikiDataId'] = $row['wikiDataId'];
288288
$s++;

0 commit comments

Comments
 (0)