main
Jordi Boggiano 13 years ago
parent b620405ab0
commit 1edb22034d

@ -142,5 +142,4 @@ abstract class BasePackage implements PackageInterface
'type' => strtolower(!empty($matches[4]) ? $matches[4] : 'stable'),
);
}
}

@ -24,7 +24,7 @@ abstract class SpecificConstraint implements LinkConstraintInterface
if ($provider instanceof MultiConstraint) {
// turn matching around to find a match
return $provider->matches($this);
} else if ($provider instanceof $this) {
} elseif ($provider instanceof $this) {
return $this->matchSpecific($provider);
}

Loading…
Cancel
Save