MailgunController::__invoke()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace BeyondCode\Mailbox\Http\Controllers;
4
5
use BeyondCode\Mailbox\Facades\Mailbox;
6
use BeyondCode\Mailbox\Http\Requests\MailgunRequest;
7
8
class MailgunController
9
{
10
    public function __invoke(MailgunRequest $request)
11
    {
12
        Mailbox::callMailboxes($request->email());
0 ignored issues
show
Bug introduced by
The method callMailboxes() does not exist on BeyondCode\Mailbox\Facades\Mailbox. Since you implemented __callStatic, consider adding a @method annotation. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

12
        Mailbox::/** @scrutinizer ignore-call */ 
13
                 callMailboxes($request->email());
Loading history...
13
    }
14
}
15