Jordi Boggiano 14 anos atrás
pai
commit
1edb22034d

+ 0 - 1
src/Composer/Package/BasePackage.php

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

+ 1 - 1
src/Composer/Package/LinkConstraint/SpecificConstraint.php

@@ -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);
         }