<commit_before><?php

/**
 * Generates Form routes
 *
 * @package     Nails
 * @subpackage  module-custom-forms
 * @category    Controller
 * @author      Nails Dev Team
 * @link
 */

namespace Nails\Routes\Forms;

use Nails\Factory;

class Routes
{
    /**
     * Returns an array of routes for this module
     * @return array
     */
    public function getRoutes()
    {
        return array(
            'forms/(.*)' => 'forms/index/$1'
        );<commit_msg>Simplified routes generator<commit_after><?php

/**
 * Generates Form routes
 *
 * @package     Nails
 * @subpackage  module-custom-forms
 * @category    Controller
 * @author      Nails Dev Team
 * @link
 */

namespace Nails\Routes\Forms;

use Nails\Factory;

class Routes
{
    /**
     * Returns an array of routes for this module
     *
     * @return array
     */
    public function getRoutes()
    {
        return [
            'forms/(.*)' => 'forms/index/$1'
        ];
{'fraction_non_alphanumeric': 0.1239406779661017, 'fraction_numerical': 0.00211864406779661, 'mean_word_length': 2.118811881188119, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '303553', 'n_tokens_mistral': 293, 'n_tokens_neox': 294, 'n_words': 77}