Minor corrections for illegal array key type
This commit is contained in:
parent
d379956437
commit
ae21d98290
1 changed files with 2 additions and 2 deletions
|
@ -405,7 +405,7 @@
|
|||
Console::out(sprintf('Installing package %s=%s', $package_reader->getAssembly()->getPackage(), $package_reader->getAssembly()->getVersion()));
|
||||
if($this->package_lock->entryExists($package_reader->getAssembly()->getPackage(), $package_reader->getAssembly()->getVersion()))
|
||||
{
|
||||
if(!isset($options[InstallPackageOptions::REINSTALL]))
|
||||
if(!isset($options[InstallPackageOptions::REINSTALL->value]))
|
||||
{
|
||||
Console::outVerbose(sprintf(
|
||||
'Package %s=%s is already installed, skipping',
|
||||
|
@ -505,7 +505,7 @@
|
|||
|
||||
$this->saveLock();
|
||||
|
||||
if(!isset($options[InstallPackageOptions::SKIP_DEPENDENCIES]))
|
||||
if(!isset($options[InstallPackageOptions::SKIP_DEPENDENCIES->value]))
|
||||
{
|
||||
foreach($this->checkRequiredDependencies($package_reader) as $dependency)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue