Skip to content

Commit

Permalink
Merge pull request #6113 from VincentLanglet/fixDeprecation
Browse files Browse the repository at this point in the history
Fix self deprecation from getCustomSchemaOptions
  • Loading branch information
greg0ire committed Jul 26, 2023
2 parents 62cce0a + 90ea2ec commit f94be5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Schema/Column.php
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 f94be5b

Please sign in to comment.