Skip to content

Commit

Permalink
Merge pull request #5464 from morozov/get-portable-foreign-key-defini…
Browse files Browse the repository at this point in the history
…tione

Make AbstractSchemaManager::_getPortableTableForeignKeyDefinition() abstract
  • Loading branch information
morozov authored Jun 21, 2022
2 parents 5bcf7d9 + 3305935 commit a9187fe
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Schema/AbstractSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -772,8 +772,6 @@ abstract protected function _getPortableTableDefinition(array $table): string;

/**
* @param array<string, mixed> $view
*
* @abstract
*/
abstract protected function _getPortableViewDefinition(array $view): View;

Expand All @@ -795,13 +793,8 @@ protected function _getPortableTableForeignKeysList(array $tableForeignKeys): ar

/**
* @param array<string, mixed> $tableForeignKey
*
* @abstract
*/
protected function _getPortableTableForeignKeyDefinition(array $tableForeignKey): ForeignKeyConstraint
{
throw NotSupported::new('ForeignKey');
}
abstract protected function _getPortableTableForeignKeyDefinition(array $tableForeignKey): ForeignKeyConstraint;

/**
* @param array<int, string>|string $sql
Expand Down

0 comments on commit a9187fe

Please sign in to comment.