<commit_before><?php

namespace App\Http\Middleware;

use Closure;

class EventsMiddleware
{
    /**
     * Handle an incoming request. Handles verification and authentication of token
     *
     * @param  \Illuminate\Http\Request $request
     * @param  \Closure $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if ($request->input("type") == "url_verification") {
            return response($request->input("challenge"), 200);
        }

        if ($request->input("type") == "url_verification") {
            return response($request->input("challenge"), 200);
        }
        return $next($request);
    }
}<commit_msg>Clean up eventsmiddleware<commit_after><?php

namespace App\Http\Middleware;

use Closure;

class EventsMiddleware
{
    /**
     * Handle an incoming request. Handles verification and authentication of token
     *
     * @param  \Illuminate\Http\Request $request
     * @param  \Closure $next
     * @return mixed
     */
    public function handle($request, Closure $next)
    {
        if ($request->input("type") == "url_verification") {
            return response($request->input("challenge"), 200);
        }
        return $next($request);
    }
}
{'fraction_non_alphanumeric': 0.13268608414239483, 'fraction_numerical': 0.007281553398058253, 'mean_word_length': 2.627565982404692, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '4655880', 'n_tokens_mistral': 359, 'n_tokens_neox': 345, 'n_words': 84}