mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-15 16:08:41 +00:00
Automated formatting changes
This commit is contained in:
parent
244672c64e
commit
85c9e50390
|
|
@ -1402,7 +1402,7 @@ class Builder extends BuilderAbstract
|
||||||
public function execute() : mixed
|
public function execute() : mixed
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$t = $this->toSql();
|
$t = $this->toSql();
|
||||||
$sth = $this->connection->con->prepare($this->toSql());
|
$sth = $this->connection->con->prepare($this->toSql());
|
||||||
|
|
||||||
foreach ($this->binds as $key => $bind) {
|
foreach ($this->binds as $key => $bind) {
|
||||||
|
|
|
||||||
|
|
@ -33,12 +33,12 @@ class CountryMapper extends DataMapperAbstract
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static array $columns = [
|
protected static array $columns = [
|
||||||
'country_id' => ['name' => 'country_id', 'type' => 'int', 'internal' => 'id'],
|
'country_id' => ['name' => 'country_id', 'type' => 'int', 'internal' => 'id'],
|
||||||
'country_name' => ['name' => 'country_name', 'type' => 'string', 'internal' => 'name'],
|
'country_name' => ['name' => 'country_name', 'type' => 'string', 'internal' => 'name'],
|
||||||
'country_code2' => ['name' => 'country_code2', 'type' => 'string', 'internal' => 'code2'],
|
'country_code2' => ['name' => 'country_code2', 'type' => 'string', 'internal' => 'code2'],
|
||||||
'country_code3' => ['name' => 'country_code3', 'type' => 'string', 'internal' => 'code3'],
|
'country_code3' => ['name' => 'country_code3', 'type' => 'string', 'internal' => 'code3'],
|
||||||
'country_numeric' => ['name' => 'country_numeric', 'type' => 'int', 'internal' => 'numeric'],
|
'country_numeric' => ['name' => 'country_numeric', 'type' => 'int', 'internal' => 'numeric'],
|
||||||
'country_region' => ['name' => 'country_region', 'type' => 'string', 'internal' => 'region'],
|
'country_region' => ['name' => 'country_region', 'type' => 'string', 'internal' => 'region'],
|
||||||
'country_developed' => ['name' => 'country_developed', 'type' => 'bool', 'internal' => 'isDeveloped'],
|
'country_developed' => ['name' => 'country_developed', 'type' => 'bool', 'internal' => 'isDeveloped'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user