MailgunController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __invoke() 0 3 1
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