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

[11.x] Add secret method declaration to Components\Factory class #51949

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

seriquynh
Copy link
Contributor

@seriquynh seriquynh commented Jun 28, 2024

Because of Components\Secret, I added secret method declaration to Components\Factory class like other components.

<?php
/**
 * @method void secret(string $question, bool $fallback = true)
 */
class Factory {}
<?php

namespace Illuminate\Console\View\Components;

use Symfony\Component\Console\Question\Question;

class Secret extends Component
{
    public function render($question, $fallback = true)
    {
        // 
    }
}

@taylorotwell taylorotwell merged commit 032f378 into laravel:11.x Jun 28, 2024
30 checks passed
@seriquynh seriquynh deleted the prompts-fix branch June 28, 2024 23:30
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.

None yet

2 participants