Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix warning for preloading TranslatorTrait class
  • Loading branch information
burned42 committed Oct 12, 2020
commit 0f167f6ed44d0c64394b3708168654a1d24112fa
1 change: 1 addition & 0 deletions src/Symfony/Bridge/Twig/Extension/TranslationExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

// Help opcache.preload discover always-needed symbols
class_exists(TranslatorInterface::class);
class_exists(TranslatorTrait::class);

/**
* Provides integration of the Translation component with Twig.
Expand Down