Completed
Push — master ( ae2a4f...0ae9a6 )
by Marcel
12s queued 12s
created

Clockwork::output()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
3
namespace BeyondCode\QueryDetector\Outputs;
4
5
use Illuminate\Support\Collection;
6
use Symfony\Component\HttpFoundation\Response;
7
8
class Clockwork implements Output
0 ignored issues
show
Bug introduced by
There is one abstract method boot in this class; you could implement it, or declare this class as abstract.
Loading history...
9
{
10
    public function output(Collection $detectedQueries, Response $response)
11
    {
12
        clock()->warning("{$detectedQueries->count()} N+1 queries detected:", $detectedQueries->toArray());
13
    }
14
}
15