public function verify($hash, $raw, $salt = null) { if (null !== $salt) { throw new \InvalidArgumentException('The salt needs to be included with the hash.'); } return password_verify($raw, $hash); }