Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make AbstractSchemaManager::_getPortableTableForeignKeyDefinition() abstract #5464

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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