<commit_before><?php

namespace cms;

/**
 * Cms Module.
 * 
 * @author nadar
 */
class Module extends \luya\base\Module
{
    /**
     * @var array We have no urlRules in cms Module. the UrlRoute file will only be used when
     *            no module is provided. So the CMS url rewrites does only apply on default behavior.
     */
    public $urlRules = [];

    /**
     * @var bool If enabled the cms content will be compressed (removing of whitespaces and tabs).
     */
    public $enableCompression = true;

    /**
     * @var bool If enableTagParsing is enabled tags like `link(1)` or `link(1)[Foo Bar]` will be parsed
     *           and transformed into links based on the cms.
     */
    public $enableTagParsing = true;

    /**
     * @var bool CMS is a luya core module.
     */
    public $isCoreModule = true;

    public function registerComponents()
    {
        return [
            'links' => [
                'class' => 'cms\components\Links',
            ],
            'menu' => [
                'class' => 'cms\componeonts\Menu',
            ],
        ];
    }
}<commit_msg>fixed typo in new components menu<commit_after><?php

namespace cms;

/**
 * Cms Module.
 * 
 * @author nadar
 */
class Module extends \luya\base\Module
{
    /**
     * @var array We have no urlRules in cms Module. the UrlRoute file will only be used when
     *            no module is provided. So the CMS url rewrites does only apply on default behavior.
     */
    public $urlRules = [];

    /**
     * @var bool If enabled the cms content will be compressed (removing of whitespaces and tabs).
     */
    public $enableCompression = true;

    /**
     * @var bool If enableTagParsing is enabled tags like `link(1)` or `link(1)[Foo Bar]` will be parsed
     *           and transformed into links based on the cms.
     */
    public $enableTagParsing = true;

    /**
     * @var bool CMS is a luya core module.
     */
    public $isCoreModule = true;

    public function registerComponents()
    {
        return [
            'links' => [
                'class' => 'cms\components\Links',
            ],
            'menu' => [
                'class' => 'cms\components\Menu',
            ],
        ];
    }
}
{'fraction_non_alphanumeric': 0.10927004030452306, 'fraction_numerical': 0.0017913121361397223, 'mean_word_length': 1.8207070707070707, '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': '5287742', 'n_tokens_mistral': 660, 'n_tokens_neox': 636, 'n_words': 225}