src/Password/Manager/PasswordManager.php
public function verify($password, $hash, $hashed_with)
    {
        switch ($hashed_with) {
            case self::HASHED_WITH_PHP:
                return password_verify($this->global_salt . $password, $hash);
            case self::HASHED_WITH_PBKDF2:
            case self::HASHED_WITH_SHA1:
                return $this->hash($password, $hashed_with) === $hash;
            default:
                throw new InvalidArgumentException("Hashing mechanism '$hashed_with' is not supported");
        }
    }
public function verify($password, $hash, $hashed_with)
    {
        switch ($hashed_with) {
            case self::HASHED_WITH_PHP:
                return password_verify($this->global_salt . $password, $hash);
            case self::HASHED_WITH_PBKDF2:
            case self::HASHED_WITH_SHA1:
                return $this->hash($password, $hashed_with) === $hash;
            default:
                throw new InvalidArgumentException("Hashing mechanism '$hashed_with' is not supported");
        }
    }
{@inheritdoc}