HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: /home/xedaptot/vlxd.naniguide.com/app/Http/Middleware/TrimStrings.php
<?php

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\TrimStrings as BaseTrimmer;

class TrimStrings extends BaseTrimmer
{
    /**
     * The names of the attributes that should not be trimmed.
     *
     * @var array
     */
    protected $except = [
        'password',
        'password_confirmation',
        'prefix', //Invoice scheme prefix
        'ref_no_prefixes.purchase', //Business settings prefixes
        'ref_no_prefixes.purchase_return',
        'ref_no_prefixes.stock_transfer',
        'ref_no_prefixes.stock_adjustment',
        'ref_no_prefixes.sell_return',
        'ref_no_prefixes.expense',
        'ref_no_prefixes.contacts',
        'ref_no_prefixes.purchase_payment',
        'ref_no_prefixes.sell_payment',
        'ref_no_prefixes.expense_payment',
        'ref_no_prefixes.business_location',
        'ref_no_prefixes.username',
        'ref_no_prefixes.subscription',
        'ref_no_prefixes.draft',
    ];
}