Skip to content

Commit 982b474

Browse files
committed
Merge branch '3.6.x' into 3.7.x
* 3.6.x: Avoid self deprecation about listTableColumn (doctrine#6108)
2 parents b158403 + 8ac288b commit 982b474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Schema/AbstractSchemaManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ public function listTableColumns($table, $database = null)
215215
if ($database === null) {
216216
$database = $this->getDatabase(__METHOD__);
217217
} else {
218-
Deprecation::trigger(
218+
Deprecation::triggerIfCalledFromOutside(
219219
'doctrine/dbal',
220220
'https://github.com/doctrine/dbal/issues/5284',
221221
'Passing $database to AbstractSchemaManager::listTableColumns() is deprecated.',

0 commit comments

Comments
 (0)