Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| DestroyGlobalSettingsRequest | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| rules | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Http\Requests\v2\GlobalSettings; |
| 4 | |
| 5 | use App\Http\Requests\v2\Parameter\Concerns\AuthorizesVengresoAdmin; |
| 6 | use Illuminate\Foundation\Http\FormRequest; |
| 7 | |
| 8 | /** |
| 9 | * Request for deleting global settings. |
| 10 | * |
| 11 | * This request only handles authorization - no validation rules needed |
| 12 | * as there are no request parameters for this endpoint. |
| 13 | */ |
| 14 | class DestroyGlobalSettingsRequest extends FormRequest |
| 15 | { |
| 16 | use AuthorizesVengresoAdmin; |
| 17 | |
| 18 | /** |
| 19 | * Get the validation rules that apply to the request. |
| 20 | * |
| 21 | * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string> |
| 22 | */ |
| 23 | public function rules(): array |
| 24 | { |
| 25 | return []; |
| 26 | } |
| 27 | } |