Skip to content

Commit fe5e150

Browse files
committed
Apply fixes from StyleCI
1 parent 7ef2068 commit fe5e150

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Schema.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
* is_pkey: bool|null,
5656
* dimension: int
5757
* }
58-
*
5958
* @psalm-type ConstraintArray = array<
6059
* array-key,
6160
* array {
@@ -70,7 +69,6 @@
7069
* check_expr: string
7170
* }
7271
* >
73-
*
7472
* @psalm-type FindConstraintArray = array{
7573
* constraint_name: string,
7674
* column_name: string,
@@ -804,7 +802,7 @@ protected function findColumns(TableSchemaInterface $table): bool
804802
) {
805803
$loadColumnSchema->defaultValue(new Expression($defaultValue));
806804
} elseif ($loadColumnSchema->getType() === 'boolean') {
807-
$loadColumnSchema->defaultValue(($defaultValue === 'true'));
805+
$loadColumnSchema->defaultValue($defaultValue === 'true');
808806
} elseif (is_string($defaultValue) && preg_match("/^B'(.*?)'::/", $defaultValue, $matches)) {
809807
$loadColumnSchema->defaultValue(bindec($matches[1]));
810808
} elseif (is_string($defaultValue) && preg_match("/^'(\d+)'::\"bit\"$/", $defaultValue, $matches)) {

0 commit comments

Comments
 (0)