We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d460d42 commit 67fdb5bCopy full SHA for 67fdb5b
Authorization/ExpressionLanguage.php
@@ -14,12 +14,12 @@
14
use Psr\Cache\CacheItemPoolInterface;
15
use Symfony\Component\ExpressionLanguage\ExpressionLanguage as BaseExpressionLanguage;
16
17
-// Help opcache.preload discover always-needed symbols
18
-class_exists(ExpressionLanguageProvider::class);
19
-
20
if (!class_exists(BaseExpressionLanguage::class)) {
21
throw new \LogicException(sprintf('The "%s" class requires the "ExpressionLanguage" component. Try running "composer require symfony/expression-language".', ExpressionLanguage::class));
22
} else {
+ // Help opcache.preload discover always-needed symbols
+ class_exists(ExpressionLanguageProvider::class);
+
23
/**
24
* Adds some function to the default ExpressionLanguage.
25
*
0 commit comments