1
0
Fork 0
pull/1/head
Jordi Boggiano 2011-05-22 09:09:01 +02:00
parent b620405ab0
commit 1edb22034d
2 changed files with 1 additions and 2 deletions

View File

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

View File

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