Skip to content

Conversation

@mrazinshaikh
Copy link
Contributor

Re-attempt on #56674

Abstracted possibleModels into InteractsWithModels.php trait.

…dels trait for model interaction. Moved possibleModels method to the new trait for better code organization.
/**
* Prompt for missing input arguments using the returned questions.
*
* @return array
Copy link
Contributor

@shaedrich shaedrich Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could narrow this further down

Suggested change
* @return array
* @return array<string, \Closure(): string>

See https://github.com/laravel/prompts/blob/3a84de9ee4fab2fab188ff66cfb8c80b5a6feec1/src/helpers.php#L140-L159

@taylorotwell taylorotwell merged commit 7f98d12 into laravel:12.x Nov 5, 2025
66 checks passed
@taylorotwell
Copy link
Member

Good stuff - thanks 👍

crynobone added a commit that referenced this pull request Nov 13, 2025
Regression issue introduced via #57671

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
crynobone added a commit that referenced this pull request Nov 13, 2025
Regression issue introduced via #57671

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
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 this pull request may close these issues.

3 participants