We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a747d2 + aadddd5 commit 4e673beCopy full SHA for 4e673be
src/Schema/Table.php
@@ -724,7 +724,7 @@ public function getColumns()
724
*/
725
public function getForeignKeyColumns()
726
{
727
- Deprecation::trigger(
+ Deprecation::triggerIfCalledFromOutside(
728
'doctrine/dbal',
729
'https://github.com/doctrine/dbal/pull/5731',
730
'%s is deprecated. Use getForeignKey() and ForeignKeyConstraint::getLocalColumns() instead.',
@@ -813,7 +813,7 @@ public function getPrimaryKey()
813
814
public function getPrimaryKeyColumns()
815
816
817
818
819
'%s is deprecated. Use getPrimaryKey() and Index::getColumns() instead.',
0 commit comments