diff --git a/src/Semver.php b/src/Semver.php
index <HASH>..<HASH> 100644
--- a/src/Semver.php
+++ b/src/Semver.php
@@ -37,9 +37,9 @@ class Semver
 
         $versionParser = self::$versionParser;
         $provider = new Constraint('==', $versionParser->normalize($version));
-        $constraints = $versionParser->parseConstraints($constraints);
+        $parsedConstraints = $versionParser->parseConstraints($constraints);
 
-        return $constraints->matches($provider);
+        return $parsedConstraints->matches($provider);
     }
 
     /**
don't shadow/overwrite input variable