initial: bootstrap from BukidBountyApp base
This commit is contained in:
18
app/Http/Middleware/ConvertEmptyStringsToNull.php
Normal file
18
app/Http/Middleware/ConvertEmptyStringsToNull.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Hypervel\Foundation\Http\Middleware\ConvertEmptyStringsToNull as Middleware;
|
||||
|
||||
class ConvertEmptyStringsToNull extends Middleware
|
||||
{
|
||||
/**
|
||||
* The names of the attributes that should not be transformed to null.
|
||||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected array $except = [
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user