<commit_before><?php

namespace Yajra\CMS\Providers;

use Yajra\CMS\Entities\Category;
use Illuminate\Support\ServiceProvider;

class FormServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        form()->macro('categories', function ($name = 'category_id', $selected = null, $options = []) {
            return form()->select($name, Category::lists(), $selected, $options);
        });
        form()->macro('imageBrowser', function ($name = 'intro_image', $options = []) {
            return view('system.macro.image-browser', [
                'name'        => $name,
                'options'     => $options,
            ]);
        });
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
}
<commit_msg>Add new line.<commit_after><?php

namespace Yajra\CMS\Providers;

use Yajra\CMS\Entities\Category;
use Illuminate\Support\ServiceProvider;

class FormServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap the application services.
     *
     * @return void
     */
    public function boot()
    {
        form()->macro('categories', function ($name = 'category_id', $selected = null, $options = []) {
            return form()->select($name, Category::lists(), $selected, $options);
        });

        form()->macro('imageBrowser', function ($name = 'intro_image', $options = []) {
            return view('system.macro.image-browser', [
                'name'        => $name,
                'options'     => $options,
            ]);
        });
    }

    /**
     * Register the application services.
     *
     * @return void
     */
    public function register()
    {
        //
    }
}

{'fraction_non_alphanumeric': 0.1495890410958904, 'fraction_numerical': 0.0, 'mean_word_length': 2.018181818181818, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '4136600', 'n_tokens_mistral': 512, 'n_tokens_neox': 498, 'n_words': 106}