Skip to content

Commit

Permalink
add type #38909
Browse files Browse the repository at this point in the history
Signed-off-by: dartcafe <[email protected]>
  • Loading branch information
dartcafe committed Jun 20, 2023
1 parent d9e9d4e commit 28b0dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/DB/PostgreSqlMigrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected function getDiff(Schema $targetSchema, \Doctrine\DBAL\Connection $conn
}
$fromDefault = $column->fromColumn->getDefault();
$toDefault = $column->column->getDefault();
$fromDefault = trim($fromDefault, "()");
$fromDefault = trim((string) $fromDefault, "()");

// by intention usage of !=
return $fromDefault != $toDefault;
Expand Down

0 comments on commit 28b0dd5

Please sign in to comment.