Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
CRAP | |
100.00% |
1 / 1 |
| DestroyRolePlayProjectRequest | |
100.00% |
2 / 2 |
|
100.00% |
2 / 2 |
2 | |
100.00% |
1 / 1 |
| authorize | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| rules | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Http\Requests\v2\RolePlay; |
| 4 | |
| 5 | use Illuminate\Foundation\Http\FormRequest; |
| 6 | |
| 7 | class DestroyRolePlayProjectRequest extends FormRequest |
| 8 | { |
| 9 | /** |
| 10 | * Authorization is enforced by RolePlayPersonaDeletionService which |
| 11 | * applies the owner -> company Global Admin -> Vengreso Admin cascade. |
| 12 | */ |
| 13 | public function authorize(): bool |
| 14 | { |
| 15 | return true; |
| 16 | } |
| 17 | |
| 18 | /** |
| 19 | * Get the validation rules that apply to the request. |
| 20 | */ |
| 21 | public function rules(): array |
| 22 | { |
| 23 | return []; |
| 24 | } |
| 25 | } |