Removed blank line in missing extensions hint when having no php.ini loaded file (#10839)
parent
b025971bb8
commit
567423e9f7
|
@ -113,8 +113,12 @@ class SolverProblemsException extends \RuntimeException
|
|||
{
|
||||
$paths = IniHelper::getAll();
|
||||
|
||||
if (count($paths) === 1 && empty($paths[0])) {
|
||||
return '';
|
||||
if ('' === $paths[0]) {
|
||||
if (count($paths) === 1) {
|
||||
return '';
|
||||
}
|
||||
|
||||
array_shift($paths);
|
||||
}
|
||||
|
||||
$ignoreExtensionsArguments = implode(" ", array_map(function ($extension) {
|
||||
|
|
Loading…
Reference in New Issue