autowp/autowp

View on GitHub
module/Application/src/Telegram/Command/MessagesCommand.php

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Method handle has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function handle($arguments)
    {
        $chatId = (int) $this->getUpdate()->getMessage()->getChat()->getId();

        $primaryKey = [
Severity: Minor
Found in module/Application/src/Telegram/Command/MessagesCommand.php - About 1 hr to fix

    syntax error, unexpected 'TableGateway' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
    Open

        private TableGateway $telegramChatTable;

    There are no issues that match your filters.

    Category
    Status