Completed
Push — master ( 49cd13...0afab7 )
by Mike
04:03
created

Drip   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 5
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A drip() 0 3 1
1
<?php namespace GeneaLabs\LaravelCaffeine\Http\Controllers;
2
3
use Illuminate\Routing\Controller;
4
use Illuminate\View\View;
5
use Symfony\Component\HttpFoundation\Response;
6
7
class Drip extends Controller
8
{
9
    public function drip() : Response
10
    {
11
        return response('', 204);
0 ignored issues
show
Bug Best Practice introduced by
The expression return response('', 204) could return the type Illuminate\Contracts\Routing\ResponseFactory which is incompatible with the type-hinted return Symfony\Component\HttpFoundation\Response. Consider adding an additional type-check to rule them out.
Loading history...
12
    }
13
}
14