Skip to content

Commit 2e8a2f5

Browse files
Merge branch '5.0'
* 5.0: [DI] Fix CheckTypeDeclarationPass [Security/Http] don't require the session to be started when tracking its id [DI] fix preloading script generation
2 parents 9b4ec10 + 0900581 commit 2e8a2f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CacheTrait.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
use Psr\Cache\InvalidArgumentException;
1616
use Psr\Log\LoggerInterface;
1717

18+
// Help opcache.preload discover always-needed symbols
19+
class_exists(InvalidArgumentException::class);
20+
1821
/**
1922
* An implementation of CacheInterface for PSR-6 CacheItemPoolInterface classes.
2023
*

0 commit comments

Comments
 (0)