Skip to content

Commit

Permalink
Apply Rector changes (CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigrov authored and github-actions[bot] committed Jan 16, 2024
1 parent e4f1a56 commit 47c6cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@ private function findComments(TableSchemaInterface $tableSchema): void

if (preg_match_all($pattern, $columnsDefinition, $matches, PREG_SET_ORDER)) {
foreach ($matches as $match) {
$columnName = $match[2] ?: $match[3] ?: $match[4];
$columnName = ($match[2] ?: $match[3]) ?: $match[4];
$comment = $this->filterComment($match[5] ?: $match[6]);

$tableSchema->getColumn($columnName)?->comment($comment);
Expand Down

0 comments on commit 47c6cc7

Please sign in to comment.