Skip to content

Commit aff0b6a

Browse files
committed
Merge branch '5.1' into 5.x
* 5.1: fix warning for preloading TranslatorTrait class
2 parents aedce49 + 3b7f557 commit aff0b6a

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
@@ -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)