aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Migration/Attributes/AddColumn.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Migration/Attributes/AddColumn.php')
-rw-r--r--lib/public/Migration/Attributes/AddColumn.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/Migration/Attributes/AddColumn.php b/lib/public/Migration/Attributes/AddColumn.php
index 8d16b9b6e8d..d84a0c1f60c 100644
--- a/lib/public/Migration/Attributes/AddColumn.php
+++ b/lib/public/Migration/Attributes/AddColumn.php
@@ -23,8 +23,8 @@ class AddColumn extends ColumnMigrationAttribute {
*/
public function definition(): string {
$type = is_null($this->getType()) ? '' : ' (' . $this->getType()->value . ')';
- return empty($this->getName()) ?
- 'Addition of a new column' . $type . ' to table \'' . $this->getTable() . '\''
+ return empty($this->getName())
+ ? 'Addition of a new column' . $type . ' to table \'' . $this->getTable() . '\''
: 'Addition of column \'' . $this->getName() . '\'' . $type . ' to table \'' . $this->getTable() . '\'';
}
}