tuyakhov/yii2-notifications

View on GitHub
src/channels/TelegramChannel.php

Summary

Maintainability
A
1 hr
Test Coverage

Method send has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function send(NotifiableInterface $recipient, NotificationInterface $notification)
    {
        /** @var TelegramMessage $message */
        $message = $notification->exportFor('telegram');
        $text = $message->body;
Severity: Minor
Found in src/channels/TelegramChannel.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status