<commit_before><?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "places".
 *
 * @property integer $id
 * @property string $title
 * @property string $adress
 */
class Places extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'places';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['title', 'adress'], 'required'],
            [['title'], 'string', 'max' => 64],
            [['adress'], 'string', 'max' => 255]
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'title' => 'Название',
            'adress' => 'Адрес',
        ];
    }
}<commit_msg>modified Places<commit_after><?php

namespace app\models;

use Yii;

/**
 * This is the model class for table "places".
 *
 * @property integer $id
 * @property string $title
 * @property string $adress
 *
 * @property Matches[] $matches
 */
class Places extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'places';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['title'], 'required'],
            [['title'], 'string', 'max' => 64],
            [['adress'], 'string', 'max' => 255]
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => 'ID',
            'title' => 'Название',
            'adress' => 'Адрес',
        ];
    }

    /**
     * @return \yii\db\ActiveQuery
     */
    public function getMatches()
    {
        return $this->hasMany(Matches::className(), ['placeId' => 'id']);
    }
}
{'fraction_non_alphanumeric': 0.16921397379912664, 'fraction_numerical': 0.0054585152838427945, 'mean_word_length': 1.7115384615384615, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '4693503', 'n_tokens_mistral': 588, 'n_tokens_neox': 570, 'n_words': 132}