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