Format code.

This commit is contained in:
李铭昕 2019-09-04 17:52:34 +08:00
parent 4449f555ac
commit ed54519db1
4 changed files with 6 additions and 4 deletions

View File

@ -9,11 +9,13 @@
- [#441](https://github.com/hyperf-cloud/hyperf/pull/441) Automatically close the spare redis client when it is used in low frequency.
- [#455](https://github.com/hyperf-cloud/hyperf/pull/455) Added `download()` method of `Hyperf\HttpServer\Contract\ResponseInterface`.
- [#500](https://github.com/hyperf-cloud/hyperf/pull/499) Added fluent method calls of `Hyperf\HttpServer\Contract\ResponseInterface`.
- [#523](https://github.com/hyperf-cloud/hyperf/pull/523) Added option `table-mapping` for command `db:model`.
## Changed
- [#437](https://github.com/hyperf-cloud/hyperf/pull/437) Changed `Hyperf\Testing\Client` handle exception handlers instead of throw an exception directly.
- [#463](https://github.com/hyperf-cloud/hyperf/pull/463) Simplify `container.php` and improve annotation caching mechanism.
- [#523](https://github.com/hyperf-cloud/hyperf/pull/523) Generate the singular class of an plural table.
config/container.php

View File

@ -197,7 +197,7 @@ abstract class Grammar
$segments[0]
) . ' as ' . $this->wrapValue(
$segments[1]
);
);
}
/**

View File

@ -74,7 +74,7 @@ class Grammar extends BaseGrammar
$sql = trim(
$this->concatenate(
$this->compileComponents($query)
)
)
);
$query->columns = $original;
@ -770,7 +770,7 @@ class Grammar extends BaseGrammar
return $not . $this->compileJsonContains(
$where['column'],
$this->parameter($where['value'])
);
);
}
/**

View File

@ -81,7 +81,7 @@ class Builder
return count($this->connection->selectFromWriteConnection(
$this->grammar->compileTableExists(),
[$table]
)) > 0;
)) > 0;
}
/**