Issues (23)

src/Http/Controllers/PostmarkController.php (1 issue)

1
<?php
2
3
namespace BeyondCode\Mailbox\Http\Controllers;
4
5
use BeyondCode\Mailbox\Facades\Mailbox;
6
use BeyondCode\Mailbox\Http\Requests\PostmarkRequest;
7
use Illuminate\Routing\Controller;
8
9
class PostmarkController extends Controller
10
{
11
    public function __construct()
12
    {
13
        $this->middleware('laravel-mailbox');
14
    }
15
16
    public function __invoke(PostmarkRequest $request)
17
    {
18
        Mailbox::callMailboxes($request->email());
0 ignored issues
show
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

18
        Mailbox::/** @scrutinizer ignore-call */ 
19
                 callMailboxes($request->email());
Loading history...
19
    }
20
}
21