8000
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 2ffc73f commit ef7e6b1Copy full SHA for ef7e6b1
src/Symfony/Component/ErrorHandler/DebugClassLoader.php
@@ -134,7 +134,7 @@ public function __construct(callable $classLoader)
134
{
135
$this->classLoader = $classLoader;
136
$this->isFinder = \is_array($classLoader) && method_exists($classLoader[0], 'findFile');
137
- parse_str(getenv('SYMFONY_PATCH_TYPE_DECLARATIONS') ?: '', $this->patchTypes);
+ parse_str($_ENV['SYMFONY_PATCH_TYPE_DECLARATIONS'] ?? $_SERVER['SYMFONY_PATCH_TYPE_DECLARATIONS'] ?? getenv('SYMFONY_PATCH_TYPE_DECLARATIONS') ?: '', $this->patchTypes);
138
$this->patchTypes += [
139
'force' => null,
140
'php' => \PHP_MAJOR_VERSION.'.'.\PHP_MINOR_VERSION,
0 commit comments