Skip to content

Commit

Permalink
Avoid self deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Jul 26, 2023
1 parent db51ed4 commit ddc7d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ public function setResultCache(CacheItemPoolInterface $cache): void
*/
public function getQueryCacheImpl()
{
Deprecation::trigger(
Deprecation::triggerIfCalledFromOutside(
'doctrine/orm',
'https://github.com/doctrine/orm/pull/9002',
'Method %s() is deprecated and will be removed in Doctrine ORM 3.0. Use getQueryCache() instead.',
Expand Down

0 comments on commit ddc7d95

Please sign in to comment.