parent
26e3451e61
commit
3931c8848f
|
@ -147,7 +147,7 @@ class Indexer
|
||||||
$packageKey = null;
|
$packageKey = null;
|
||||||
$cacheKey = null;
|
$cacheKey = null;
|
||||||
$index = null;
|
$index = null;
|
||||||
foreach (array_merge($this->composerLock->packages, $this->composerLock->{'packages-dev'}) as $package) {
|
foreach (array_merge($this->composerLock->packages, (array)$this->composerLock->{'packages-dev'}) as $package) {
|
||||||
// Check if package name matches and version is absolute
|
// Check if package name matches and version is absolute
|
||||||
// Dynamic constraints are not cached, because they can change every time
|
// Dynamic constraints are not cached, because they can change every time
|
||||||
$packageVersion = ltrim($package->version, 'v');
|
$packageVersion = ltrim($package->version, 'v');
|
||||||
|
|
|
@ -169,7 +169,7 @@ class Workspace
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
$dependencyReferences = [];
|
$dependencyReferences = [];
|
||||||
foreach (array_merge($this->composerLock->packages, $this->composerLock->{'packages-dev'}) as $package) {
|
foreach (array_merge($this->composerLock->packages, (array)$this->composerLock->{'packages-dev'}) as $package) {
|
||||||
$dependencyReferences[] = new DependencyReference($package);
|
$dependencyReferences[] = new DependencyReference($package);
|
||||||
}
|
}
|
||||||
return $dependencyReferences;
|
return $dependencyReferences;
|
||||||
|
|
Loading…
Reference in New Issue