• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

conedevelopment / root / 15084010432

17 May 2025 09:46AM UTC coverage: 77.93% (+0.04%) from 77.891%
15084010432

Pull #240

github

web-flow
Merge f6dd44bc7 into abd60b533
Pull Request #240: Modernize back-end.yml

3291 of 4223 relevant lines covered (77.93%)

36.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Notifications/RootChannel.php
1
<?php
2

3
namespace Cone\Root\Notifications;
4

5
use Illuminate\Notifications\Notification;
6

7
class RootChannel
8
{
9
    /**
10
     * Send the given notification.
11
     */
12
    public function send(object $notifiable, Notification $notification): void
×
13
    {
14
        $data = array_merge(
×
15
            ['type' => $notification::class],
×
16
            $notification->toRoot($notifiable)->toArray()
×
17
        );
×
18

19
        $notifiable->rootNotifications()->create($data);
×
20
    }
21
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc