Skip to content

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
@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.

2 participants