Skip to content

Commit 0f167f6

Browse files
committed
fix warning for preloading TranslatorTrait class
1 parent b9e76b2 commit 0f167f6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Bridge/Twig/Extension/TranslationExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
// Help opcache.preload discover always-needed symbols
2525
class_exists(TranslatorInterface::class);
26+
class_exists(TranslatorTrait::class);
2627

2728
/**
2829
* Provides integration of the Translation component with Twig.

0 commit comments

Comments
 (0)