mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-07-15 02:07:56 -04:00
28 lines
453 B
PHP
28 lines
453 B
PHP
<?php
|
|
|
|
namespace Modules\Chat\Http\Requests;
|
|
|
|
/**
|
|
* Class BlockUserRequest
|
|
*/
|
|
class BlockUserRequest
|
|
{
|
|
public function authorize()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
/**
|
|
* Get the validation rules that apply to the request.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function rules()
|
|
{
|
|
$rules['blocked_to'] = 'required';
|
|
$rules['is_blocked'] = 'required';
|
|
|
|
return $rules;
|
|
}
|
|
}
|