src/PHPDish/Bundle/UserBundle/Security/Core/Encoder/GenericPasswordEncoder.php
public function isPasswordValid($encoded, $raw, $salt)
    {
        if ($this->difficulty === static::DIFFICULTY_SIMPLE) {
            $salt = null;
        }
        return $this->messageDigestPasswordEncoder->isPasswordValid($encoded, $raw, $salt);
    }
public function isPasswordValid($encoded, $raw, $salt)
    {
        if ($this->difficulty === static::DIFFICULTY_SIMPLE) {
            $salt = null;
        }
        return $this->messageDigestPasswordEncoder->isPasswordValid($encoded, $raw, $salt);
    }
{@inheritdoc}