Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a problem with calling Validation via a variable #235

Open
salawatbro opened this issue Sep 25, 2023 Discussed in #233 · 0 comments · May be fixed by #237
Open

There is a problem with calling Validation via a variable #235

salawatbro opened this issue Sep 25, 2023 Discussed in #233 · 0 comments · May be fixed by #237

Comments

@salawatbro
Copy link

Discussed in #233

Originally posted by SalawatJoldasbaev September 25, 2023
That's how I wanted to use it:
$request->validate($data->rules());

image

But how can you fix such an error?
⚠️Cannot generate request documentation: Undefined variable $data

image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant