Skip to content

Commit 13111af

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 1d69dad + bd2ba7e commit 13111af

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ServiceLocatorTrait.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
use Psr\Container\ContainerExceptionInterface;
1515
use Psr\Container\NotFoundExceptionInterface;
1616

17+
// Help opcache.preload discover always-needed symbols
18+
class_exists(ContainerExceptionInterface::class);
19+
class_exists(NotFoundExceptionInterface::class);
20+
1721
/**
1822
* A trait to help implement ServiceProviderInterface.
1923
*

0 commit comments

Comments
 (0)