. */ declare(strict_types=1); namespace FireflyIII\Http\Requests; use FireflyIII\Support\Request\ChecksLogin; use FireflyIII\Support\Request\ConvertsDataTypes; use Illuminate\Foundation\Http\FormRequest; /** * Class InviteUserFormRequest */ class InviteUserFormRequest extends FormRequest { use ChecksLogin; use ConvertsDataTypes; /** * Rules for this request. * * @return array */ public function rules(): array { return [ 'invited_user' => 'required|email|unique:invited_users,email', ]; } }