@@ -54,8 +54,7 @@ discard block |
||
| 54 | 54 | * @class Query |
| 55 | 55 | * @package Platine\Database\Query |
| 56 | 56 | */ |
| 57 | -class Query extends BaseStatement |
|
| 58 | -{ |
|
| 57 | +class Query extends BaseStatement { |
|
| 59 | 58 | /** |
| 60 | 59 | * @var Connection |
| 61 | 60 | */ |
@@ -246,8 +245,7 @@ discard block |
||
| 246 | 245 | * |
| 247 | 246 | * @return mixed |
| 248 | 247 | */ |
| 249 | - public function max(string|Expression|Closure $column, bool $distinct = false) |
|
| 250 | - { |
|
| 248 | + public function max(string|Expression|Closure $column, bool $distinct = false) { |
|
| 251 | 249 | return $this->buildSelect()->max($column, $distinct); |
| 252 | 250 | } |
| 253 | 251 | |
@@ -52,8 +52,7 @@ |
||
| 52 | 52 | * @class Where |
| 53 | 53 | * @package Platine\Database\Query |
| 54 | 54 | */ |
| 55 | -class Where |
|
| 56 | -{ |
|
| 55 | +class Where { |
|
| 57 | 56 | /** |
| 58 | 57 | * @var string|Expression |
| 59 | 58 | */ |
@@ -54,8 +54,7 @@ |
||
| 54 | 54 | * @class Select |
| 55 | 55 | * @package Platine\Database\Query |
| 56 | 56 | */ |
| 57 | -class Select extends SelectStatement |
|
| 58 | -{ |
|
| 57 | +class Select extends SelectStatement { |
|
| 59 | 58 | /** |
| 60 | 59 | * @var Connection |
| 61 | 60 | */ |
@@ -50,8 +50,7 @@ discard block |
||
| 50 | 50 | * @class InsertStatement |
| 51 | 51 | * @package Platine\Database\Query |
| 52 | 52 | */ |
| 53 | -class InsertStatement |
|
| 54 | -{ |
|
| 53 | +class InsertStatement { |
|
| 55 | 54 | /** |
| 56 | 55 | * The Query statement instance |
| 57 | 56 | * @var QueryStatement |
@@ -62,8 +61,7 @@ discard block |
||
| 62 | 61 | * InsertStatement constructor. |
| 63 | 62 | * @param QueryStatement|null $queryStatement |
| 64 | 63 | */ |
| 65 | - public function __construct(?QueryStatement $queryStatement = null) |
|
| 66 | - { |
|
| 64 | + public function __construct(?QueryStatement $queryStatement = null) { |
|
| 67 | 65 | if ($queryStatement === null) { |
| 68 | 66 | $queryStatement = new QueryStatement(); |
| 69 | 67 | } |
@@ -62,8 +62,7 @@ discard block |
||
| 62 | 62 | * @class Driver |
| 63 | 63 | * @package Platine\Database\Driver |
| 64 | 64 | */ |
| 65 | -class Driver |
|
| 66 | -{ |
|
| 65 | +class Driver { |
|
| 67 | 66 | /** |
| 68 | 67 | * The driver default date format |
| 69 | 68 | * @var string |
@@ -129,8 +128,7 @@ discard block |
||
| 129 | 128 | * @class constructor |
| 130 | 129 | * @param Connection $connection |
| 131 | 130 | */ |
| 132 | - public function __construct(Connection $connection) |
|
| 133 | - { |
|
| 131 | + public function __construct(Connection $connection) { |
|
| 134 | 132 | $this->connection = $connection; |
| 135 | 133 | } |
| 136 | 134 | |
@@ -59,8 +59,7 @@ |
||
| 59 | 59 | * @class Configuration |
| 60 | 60 | * @package Platine\Database |
| 61 | 61 | */ |
| 62 | -class Configuration extends AbstractConfiguration |
|
| 63 | -{ |
|
| 62 | +class Configuration extends AbstractConfiguration { |
|
| 64 | 63 | /** |
| 65 | 64 | * The connection driver to use |
| 66 | 65 | * @var string |