1
0
Fork 0

Fix syntax error

pull/8557/head
Jordi Boggiano 2020-03-13 11:50:35 +01:00 committed by GitHub
parent 8a6382d78d
commit cf5513f28d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ class PoolBuilder
$loadNames[$require] = null;
}
$linkConstraint = $link->getConstraint()
$linkConstraint = $link->getConstraint();
if ($linkConstraint && !($linkConstraint instanceof EmptyConstraint)) {
if (!array_key_exists($require, $this->nameConstraints)) {
$this->nameConstraints[$require] = new MultiConstraint(array($linkConstraint), false);