Skip to content

Commit

Permalink
Avoid self deprecation about listTableColumn (doctrine#6108)
Browse files Browse the repository at this point in the history
<!-- Fill in the relevant information below to help triage your pull
request. -->

|      Q       |   A
|------------- | -----------
| Type         | bug
| Fixed issues | 

#### Summary

BC solution for doctrine#6104

Closes doctrine#6104
  • Loading branch information
VincentLanglet authored and cgknx committed Aug 30, 2023
1 parent 911d006 commit 8b482c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Schema/AbstractSchemaManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public function listTableColumns($table, $database = null)
if ($database === null) {
$database = $this->getDatabase(__METHOD__);
} else {
Deprecation::trigger(
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/issues/5284',
'Passing $database to AbstractSchemaManager::listTableColumns() is deprecated.',
Expand Down

0 comments on commit 8b482c6

Please sign in to comment.