<commit_before><?php

/** @var string $object_type_attribute */

/** @var string $object_type_real_attribute */

/** @var \yii\db\ActiveRecordInterface $model */

/** @var array $objectOptions */

/** @var string $attribute */

/** @var array $availableObjects */

use hipanel\widgets\combo\ObjectCombo;
use yii\bootstrap\Html;

?>

<div class="row">
    <div class="col-md-12"
         style="display: flex; flex-direction: row; justify-content: space-between; flex-wrap: nowrap;">
        <?= Html::activeDropDownList($model, $object_type_real_attribute, $objectOptions, [
            'class' => 'form-control', 'prompt' => '--',
        ]) ?>
        <?=
        ObjectCombo::widget([
            'model' => $model,
            'attribute' => $attribute,
            'objectsOptions' => $availableObjects,
            'currentObjectType' => $model->{$object_type_attribute},
            'currentObjectAttributeName' => $object_type_real_attribute,
        ]) ?>
    </div>
</div>


<commit_msg>minor<commit_after><?php

/** @var string $object_type_attribute */

/** @var string $object_type_real_attribute */

/** @var \yii\db\ActiveRecordInterface $model */

/** @var array $objectOptions */

/** @var string $attribute */

/** @var array $availableObjects */

use hipanel\widgets\combo\ObjectCombo;
use yii\bootstrap\Html;

?>

<div class="row">
    <div class="col-md-12"
         style="display: flex; flex-direction: row; justify-content: space-between; flex-wrap: nowrap;">
        <?= Html::activeDropDownList($model, $object_type_real_attribute, $objectOptions, [
            'class' => 'form-control', 'prompt' => '--',
        ]) ?>
        <?=
        ObjectCombo::widget([
            'model' => $model,
            'attribute' => $attribute,
            'objectsOptions' => $availableObjects,
            'currentObjectType' => $model->{$object_type_attribute},
            'currentObjectAttributeName' => $object_type_real_attribute,
        ]) ?>
    </div>
</div>
{'fraction_non_alphanumeric': 0.1734745335350479, 'fraction_numerical': 0.002017145738779627, 'mean_word_length': 2.9209486166007905, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 33, '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': '6943447', 'n_tokens_mistral': 607, 'n_tokens_neox': 604, 'n_words': 108}