Remove superfluous check in Problem
parent
0b4e8952f6
commit
8b877eb068
|
@ -82,7 +82,6 @@ class Problem
|
||||||
}
|
}
|
||||||
|
|
||||||
$request = $rule->getReasonData();
|
$request = $rule->getReasonData();
|
||||||
|
|
||||||
$packageName = $request['packageName'];
|
$packageName = $request['packageName'];
|
||||||
$constraint = $request['constraint'];
|
$constraint = $request['constraint'];
|
||||||
|
|
||||||
|
@ -92,7 +91,7 @@ class Problem
|
||||||
$packages = array();
|
$packages = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($request && empty($packages)) {
|
if (empty($packages)) {
|
||||||
// handle php/hhvm
|
// handle php/hhvm
|
||||||
if ($packageName === 'php' || $packageName === 'php-64bit' || $packageName === 'hhvm') {
|
if ($packageName === 'php' || $packageName === 'php-64bit' || $packageName === 'hhvm') {
|
||||||
$version = phpversion();
|
$version = phpversion();
|
||||||
|
|
Loading…
Reference in New Issue