diff --git a/DataStorage/Database/Query/Builder.php b/DataStorage/Database/Query/Builder.php index 97998041c..c82b18ced 100644 --- a/DataStorage/Database/Query/Builder.php +++ b/DataStorage/Database/Query/Builder.php @@ -1402,7 +1402,7 @@ class Builder extends BuilderAbstract public function execute() : mixed { try { - $t = $this->toSql(); + $t = $this->toSql(); $sth = $this->connection->con->prepare($this->toSql()); foreach ($this->binds as $key => $bind) { diff --git a/Localization/Defaults/CountryMapper.php b/Localization/Defaults/CountryMapper.php index 590e3ae9a..e7a8fe7c4 100644 --- a/Localization/Defaults/CountryMapper.php +++ b/Localization/Defaults/CountryMapper.php @@ -33,12 +33,12 @@ class CountryMapper extends DataMapperAbstract * @since 1.0.0 */ protected static array $columns = [ - 'country_id' => ['name' => 'country_id', 'type' => 'int', 'internal' => 'id'], - 'country_name' => ['name' => 'country_name', 'type' => 'string', 'internal' => 'name'], - 'country_code2' => ['name' => 'country_code2', 'type' => 'string', 'internal' => 'code2'], - 'country_code3' => ['name' => 'country_code3', 'type' => 'string', 'internal' => 'code3'], - 'country_numeric' => ['name' => 'country_numeric', 'type' => 'int', 'internal' => 'numeric'], - 'country_region' => ['name' => 'country_region', 'type' => 'string', 'internal' => 'region'], + 'country_id' => ['name' => 'country_id', 'type' => 'int', 'internal' => 'id'], + 'country_name' => ['name' => 'country_name', 'type' => 'string', 'internal' => 'name'], + 'country_code2' => ['name' => 'country_code2', 'type' => 'string', 'internal' => 'code2'], + 'country_code3' => ['name' => 'country_code3', 'type' => 'string', 'internal' => 'code3'], + 'country_numeric' => ['name' => 'country_numeric', 'type' => 'int', 'internal' => 'numeric'], + 'country_region' => ['name' => 'country_region', 'type' => 'string', 'internal' => 'region'], 'country_developed' => ['name' => 'country_developed', 'type' => 'bool', 'internal' => 'isDeveloped'], ];