1
0
Fork 0

Remove superfluous check in Problem

pull/8537/head
Nils Adermann 2020-01-20 10:27:04 +01:00
parent 0b4e8952f6
commit 8b877eb068
1 changed files with 1 additions and 2 deletions

View File

@ -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();