Loading src/EventSubscriber/StageFileProxySubscriber.php +1 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,7 @@ class StageFileProxySubscriber implements EventSubscriberInterface { $excluded_extensions = $config->get('excluded_extensions') ? array_map('trim', explode(',', $config->get('excluded_extensions'))) : []; $extension = pathinfo($request_path)['extension']; $extension = pathinfo($request_path)['extension'] ?? ''; if (in_array($extension, $excluded_extensions)) { return; } Loading Loading
src/EventSubscriber/StageFileProxySubscriber.php +1 −1 Original line number Diff line number Diff line Loading @@ -126,7 +126,7 @@ class StageFileProxySubscriber implements EventSubscriberInterface { $excluded_extensions = $config->get('excluded_extensions') ? array_map('trim', explode(',', $config->get('excluded_extensions'))) : []; $extension = pathinfo($request_path)['extension']; $extension = pathinfo($request_path)['extension'] ?? ''; if (in_array($extension, $excluded_extensions)) { return; } Loading