mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-09-08 08:04:10 +00:00
chore(platform): remove legacy-era mail, pdf and storage sources
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Platform\Mail\Http\Requests;
|
||||
|
||||
use App\Platform\Mail\Application\MailConfigurationService;
|
||||
use Illuminate\Foundation\Http\FormRequest;
|
||||
|
||||
class MailEnvironmentRequest extends FormRequest
|
||||
{
|
||||
/**
|
||||
* Determine if the user is authorized to make this request.
|
||||
*/
|
||||
public function authorize(): bool
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the validation rules that apply to the request.
|
||||
*/
|
||||
public function rules(): array
|
||||
{
|
||||
return app(MailConfigurationService::class)->validationRules(
|
||||
$this->string('mail_driver')->toString()
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user