@@ -36,6 +36,5 @@ |
||
36 | 36 | * @class TransactionException |
37 | 37 | * @package Platine\Database\Exception |
38 | 38 | */ |
39 | -class TransactionException extends DatabaseException |
|
40 | -{ |
|
39 | +class TransactionException extends DatabaseException { |
|
41 | 40 | } |
@@ -38,6 +38,5 @@ |
||
38 | 38 | * @class ConnectionAlreadyExistsException |
39 | 39 | * @package Platine\Database\Exception |
40 | 40 | */ |
41 | -class ConnectionAlreadyExistsException extends Exception |
|
42 | -{ |
|
41 | +class ConnectionAlreadyExistsException extends Exception { |
|
43 | 42 | } |
@@ -36,6 +36,5 @@ |
||
36 | 36 | * @class ConnectionException |
37 | 37 | * @package Platine\Database\Exception |
38 | 38 | */ |
39 | -class ConnectionException extends DatabaseException |
|
40 | -{ |
|
39 | +class ConnectionException extends DatabaseException { |
|
41 | 40 | } |
@@ -38,6 +38,5 @@ |
||
38 | 38 | * @class DatabaseException |
39 | 39 | * @package Platine\Database\Exception |
40 | 40 | */ |
41 | -class DatabaseException extends Exception |
|
42 | -{ |
|
41 | +class DatabaseException extends Exception { |
|
43 | 42 | } |
@@ -36,6 +36,5 @@ |
||
36 | 36 | * @class QueryPrepareException |
37 | 37 | * @package Platine\Database\Exception |
38 | 38 | */ |
39 | -class QueryPrepareException extends DatabaseException |
|
40 | -{ |
|
39 | +class QueryPrepareException extends DatabaseException { |
|
41 | 40 | } |
@@ -36,6 +36,5 @@ |
||
36 | 36 | * @class QueryException |
37 | 37 | * @package Platine\Database\Exception |
38 | 38 | */ |
39 | -class QueryException extends DatabaseException |
|
40 | -{ |
|
39 | +class QueryException extends DatabaseException { |
|
41 | 40 | } |
@@ -52,8 +52,7 @@ |
||
52 | 52 | * @class Expression |
53 | 53 | * @package Platine\Database\Query |
54 | 54 | */ |
55 | -class Expression |
|
56 | -{ |
|
55 | +class Expression { |
|
57 | 56 | /** |
58 | 57 | * The list of expression |
59 | 58 | * @var array<int, array<string, mixed>> |
@@ -52,8 +52,7 @@ |
||
52 | 52 | * @class Join |
53 | 53 | * @package Platine\Database\Query |
54 | 54 | */ |
55 | -class Join |
|
56 | -{ |
|
55 | +class Join { |
|
57 | 56 | /** |
58 | 57 | * The Join conditions |
59 | 58 | * @var array<int, mixed> |
@@ -50,8 +50,7 @@ discard block |
||
50 | 50 | * @class AlterColumn |
51 | 51 | * @package Platine\Database\Schema |
52 | 52 | */ |
53 | -class AlterColumn extends BaseColumn |
|
54 | -{ |
|
53 | +class AlterColumn extends BaseColumn { |
|
55 | 54 | /** |
56 | 55 | * The alter table |
57 | 56 | * @var AlterTable |
@@ -64,8 +63,7 @@ discard block |
||
64 | 63 | * @param string $name |
65 | 64 | * @param string|null $type |
66 | 65 | */ |
67 | - public function __construct(AlterTable $table, string $name, ?string $type = null) |
|
68 | - { |
|
66 | + public function __construct(AlterTable $table, string $name, ?string $type = null) { |
|
69 | 67 | $this->table = $table; |
70 | 68 | parent::__construct($name, $type); |
71 | 69 | } |