Skip to content

Commit

Permalink
Fix self deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Jul 25, 2023
1 parent 62cce0a commit 90ea2ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Schema/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ public function setCustomSchemaOptions(array $customSchemaOptions)
*/
public function getCustomSchemaOptions()
{
Deprecation::trigger(
Deprecation::triggerIfCalledFromOutside(
'doctrine/dbal',
'https://github.com/doctrine/dbal/pull/5476',
'Column::getCustomSchemaOptions() is deprecated. Use getPlatformOptions() instead.',
Expand Down

0 comments on commit 90ea2ec

Please sign in to comment.