updated-packages

This commit is contained in:
RafficMohammed
2023-01-08 00:13:22 +05:30
parent 3ff7df7487
commit da241bacb6
12659 changed files with 563377 additions and 510538 deletions

View File

@@ -10,27 +10,27 @@ use Doctrine\DBAL\Platforms\AbstractPlatform;
class TableDiff
{
/** @var string */
public $name = null;
public $name;
/** @var string|bool */
/** @var string|false */
public $newName = false;
/**
* All added fields.
* All added columns
*
* @var Column[]
*/
public $addedColumns;
/**
* All changed fields.
* All changed columns
*
* @var ColumnDiff[]
*/
public $changedColumns = [];
/**
* All removed fields.
* All removed columns
*
* @var Column[]
*/
@@ -92,7 +92,7 @@ class TableDiff
*/
public $removedForeignKeys = [];
/** @var Table */
/** @var Table|null */
public $fromTable;
/**
@@ -139,10 +139,14 @@ class TableDiff
}
/**
* @return Identifier|string|bool
* @return Identifier|false
*/
public function getNewName()
{
return $this->newName ? new Identifier($this->newName) : $this->newName;
if ($this->newName === false) {
return false;
}
return new Identifier($this->newName);
}
}