Skip to content

Commit ee3294e

Browse files
committed
Merge branch '5.1' into 5.x
* 5.1: fix warning for preloading TranslatorTrait class
2 parents 9c3a928 + 5b9ccde commit ee3294e

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
@@ -25,6 +25,7 @@
2525

2626
// Help opcache.preload discover always-needed symbols
2727
class_exists(TranslatorInterface::class);
28+
class_exists(TranslatorTrait::class);
2829

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

0 commit comments

Comments
 (0)