Passed
Push — master ( 4b0d05...471523 )
by Arthur
103:49 queued 98:11
created

WebNotificationEvent::broadcastAs()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: arthur
5
 * Date: 14.10.18
6
 * Time: 21:43.
7
 */
8
9
namespace Modules\Notification\Events;
10
11
use Illuminate\Notifications\Events\BroadcastNotificationCreated;
12
13
class WebNotificationEvent extends BroadcastNotificationCreated
14
{
15 31
    public function broadcastAs()
16
    {
17 31
        return 'notification.created';
18
    }
19
}
20