Fix undefined method call
parent
070530534d
commit
199696d120
|
@ -61,7 +61,7 @@ class Request
|
||||||
$constraint = new MatchAllConstraint();
|
$constraint = new MatchAllConstraint();
|
||||||
}
|
}
|
||||||
if (isset($this->requires[$packageName])) {
|
if (isset($this->requires[$packageName])) {
|
||||||
throw new \LogicException('Overwriting requires seems like a bug ('.$packageName.' '.$this->requires[$packageName]->getPrettyConstraint().' => '.$constraint->getPrettyConstraint().', check why it is happening, might be a root alias');
|
throw new \LogicException('Overwriting requires seems like a bug ('.$packageName.' '.$this->requires[$packageName]->getPrettyString().' => '.$constraint->getPrettyString().', check why it is happening, might be a root alias');
|
||||||
}
|
}
|
||||||
$this->requires[$packageName] = $constraint;
|
$this->requires[$packageName] = $constraint;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue