Skip to content

Commit 134ce69

Browse files
burned42fabpot
authored andcommitted
fix warning for preloading TranslatorTrait class
1 parent b96add7 commit 134ce69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Extension/TranslationExtension.php

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

2727
// Help opcache.preload discover always-needed symbols
2828
class_exists(TranslatorInterface::class);
29+
class_exists(TranslatorTrait::class);
2930

3031
/**
3132
* Provides integration of the Translation component with Twig.

0 commit comments

Comments
 (0)