SetNotifierName::handle()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
3
namespace Facade\Ignition\Middleware;
4
5
use Facade\FlareClient\Report;
6
7
class SetNotifierName
8
{
9
    const NOTIFIER_NAME = 'Laravel Client';
10
11
    public function handle(Report $report, $next)
12
    {
13
        $report->notifierName(static::NOTIFIER_NAME);
14
15
        return $next($report);
16
    }
17
}
18