diff options
| author | Greg Roach <greg@subaqua.co.uk> | 2020-10-06 12:17:15 +0100 |
|---|---|---|
| committer | Greg Roach <greg@subaqua.co.uk> | 2020-10-06 12:17:15 +0100 |
| commit | 4aa632fc7eb0da3843f1e546fbaa70d41bc92828 (patch) | |
| tree | db1a3fc95d278e0d078ccb6e65819c48f1512d96 /vendor/symfony/translation/Loader/PhpFileLoader.php | |
| parent | b11d56784459779f76ade08aa6364165a2444aee (diff) | |
| download | webtrees-4aa632fc7eb0da3843f1e546fbaa70d41bc92828.tar.gz webtrees-4aa632fc7eb0da3843f1e546fbaa70d41bc92828.tar.bz2 webtrees-4aa632fc7eb0da3843f1e546fbaa70d41bc92828.zip | |
Update vendor dependencies
Diffstat (limited to 'vendor/symfony/translation/Loader/PhpFileLoader.php')
| -rw-r--r-- | vendor/symfony/translation/Loader/PhpFileLoader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/symfony/translation/Loader/PhpFileLoader.php b/vendor/symfony/translation/Loader/PhpFileLoader.php index 0991c3d3a2..c361d5293c 100644 --- a/vendor/symfony/translation/Loader/PhpFileLoader.php +++ b/vendor/symfony/translation/Loader/PhpFileLoader.php @@ -25,7 +25,7 @@ class PhpFileLoader extends FileLoader */ protected function loadResource($resource) { - if ([] === self::$cache && \function_exists('opcache_invalidate') && filter_var(ini_get('opcache.enable'), FILTER_VALIDATE_BOOLEAN) && (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) || filter_var(ini_get('opcache.enable_cli'), FILTER_VALIDATE_BOOLEAN))) { + if ([] === self::$cache && \function_exists('opcache_invalidate') && filter_var(ini_get('opcache.enable'), \FILTER_VALIDATE_BOOLEAN) && (!\in_array(\PHP_SAPI, ['cli', 'phpdbg'], true) || filter_var(ini_get('opcache.enable_cli'), \FILTER_VALIDATE_BOOLEAN))) { self::$cache = null; } |
