<commit_before><?php

namespace haqqi\metronic\base;

use yii\base\InvalidConfigException;
use yii\base\Model;
use yii\web\IdentityInterface;

class LoginForm extends Model
{
    const WITH_EMAIL = 'EMAIL';
    const WITH_USERNAME = 'USERNAME';

    public $email;
    public $username;
    public $password;
    public $rememberMe;

    /** @var IdentityInterface */
    protected $_user;

    /** @var string */
    protected $_userClass = null;

    public function init()<commit_msg>[fix] returning const SCENARIO_SUBMIT_LOGIN<commit_after><?php

namespace haqqi\metronic\base;

use yii\base\InvalidConfigException;
use yii\base\Model;
use yii\web\IdentityInterface;

class LoginForm extends Model
{
    const WITH_EMAIL = 'EMAIL';
    const WITH_USERNAME = 'USERNAME';

    /** THIS WILL BE USED BY DEFAULT **/
    const SCENARIO_SUBMIT_LOGIN = 'EMAIL';

    public $email;
    public $username;
    public $password;
    public $rememberMe;

    /** @var IdentityInterface */
    protected $_user;

    /** @var string */
    protected $_userClass = null;

    public function init()
{'fraction_non_alphanumeric': 0.10835629017447199, 'fraction_numerical': 0.0, 'mean_word_length': 3.4489795918367347, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '6054251', 'n_tokens_mistral': 351, 'n_tokens_neox': 339, 'n_words': 89}