<commit_before><?php

namespace Orchestra\Auth\Passwords;

use Orchestra\Notifier\Message;
use Illuminate\Contracts\Auth\UserProvider;
use Illuminate\Auth\Passwords\PasswordBroker as Broker;
use Illuminate\Auth\Passwords\TokenRepositoryInterface;

class PasswordBroker extends Broker
{
    /**
     * The password reset user provider.
     *
     * @var string|null
     */
    protected $provider;

    /**
     * Create a new password broker instance.
     *
     * @param  \Illuminate\Auth\Passwords\TokenRepositoryInterface  $tokens
     * @param  \Illuminate\Contracts\Auth\UserProvider  $users
     * @param  string  $provider
     */
    public function __construct(
        TokenRepositoryInterface $tokens,
        UserProvider $users,
        $provider
    ) {
        $this->users    = $users;
        $this->tokens   = $tokens;
        $this->provider = $provider;
    }

    /**
     * Send a password reminder to a user.
     *
     * @param  array  $credentials
     * @param  \Closure  $callback
     *
     * @return string
     */
    public function sendResetLink(array $credentials)
    {
        // First we will check to see if we found a user at the given credentials and
        // if we did not we will redirect back to this current URI with a piece of
        // "flash" data in the session to indicate to the developers the errors.
        $user = $this->getUser($credentials);

        if (is_null($user)) {
            return static::INVALID_USER;
        }<commit_msg>Remove unused docblock.<commit_after><?php

namespace Orchestra\Auth\Passwords;

use Orchestra\Notifier\Message;
use Illuminate\Contracts\Auth\UserProvider;
use Illuminate\Auth\Passwords\PasswordBroker as Broker;
use Illuminate\Auth\Passwords\TokenRepositoryInterface;

class PasswordBroker extends Broker
{
    /**
     * The password reset user provider.
     *
     * @var string|null
     */
    protected $provider;

    /**
     * Create a new password broker instance.
     *
     * @param  \Illuminate\Auth\Passwords\TokenRepositoryInterface  $tokens
     * @param  \Illuminate\Contracts\Auth\UserProvider  $users
     * @param  string  $provider
     */
    public function __construct(
        TokenRepositoryInterface $tokens,
        UserProvider $users,
        $provider
    ) {
        $this->users    = $users;
        $this->tokens   = $tokens;
        $this->provider = $provider;
    }

    /**
     * Send a password reminder to a user.
     *
     * @param  array  $credentials
     *
     * @return string
     */
    public function sendResetLink(array $credentials)
    {
        // First we will check to see if we found a user at the given credentials and
        // if we did not we will redirect back to this current URI with a piece of
        // "flash" data in the session to indicate to the developers the errors.
        $user = $this->getUser($credentials);

        if (is_null($user)) {
            return static::INVALID_USER;
        }
{'fraction_non_alphanumeric': 0.09256142712891283, 'fraction_numerical': 0.0, 'mean_word_length': 2.339325842696629, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4136567', 'n_tokens_mistral': 815, 'n_tokens_neox': 826, 'n_words': 247}