fix: conform with linter

This commit is contained in:
Sergey Shevchenko 2020-10-29 18:58:29 +13:00
parent 62725a5db3
commit 2c9ba8bc45

View File

@ -533,7 +533,7 @@ class MySQLSchemaManager extends DBSchemaManager
//$parts=Array('datatype'=>'int', 'precision'=>11, 'null'=>'not null', 'default'=>(int)$this->default);
//DB::requireField($this->tableName, $this->name, "int(11) not null default '{$this->defaultVal}'");
$width = $this->shouldUseIntegerWidth() ? '(11)' : '';
return "int$width not null" . $this->defaultClause($values);
return 'int' . $width . ' not null' . $this->defaultClause($values);
}
/**