murdercode/yaTTA

View on GitHub

Showing 1 of 1 total issue

Method __invoke has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function __invoke(int $chatId)
    {

        $chat = Chat::find($chatId);

Severity: Minor
Found in app/Http/Controllers/OpenAIController.php - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language