Completed
Push — master ( 6f649e...8b7e0e )
by Marcel
01:26
created
src/QueryDetector.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@  discard block
 block discarded – undo
82 82
         }
83 83
     }
84 84
 
85
+    /**
86
+     * @param Collection $stack
87
+     */
85 88
     protected function findSource($stack)
86 89
     {
87 90
         $sources = [];
@@ -176,6 +179,9 @@  discard block
 block discarded – undo
176 179
         $outputType->output($this->getDetectedQueries(), $response);
177 180
     }
178 181
 
182
+    /**
183
+     * @param \Illuminate\Http\Response $response
184
+     */
179 185
     public function output($request, $response)
180 186
     {
181 187
         if ($this->getDetectedQueries()->isNotEmpty()) {
Please login to merge, or discard this patch.
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 namespace BeyondCode\QueryDetector;
4 4
 
5 5
 use DB;
6
-use Illuminate\Support\Collection;
7 6
 use Illuminate\Database\Eloquent\Builder;
8
-use Symfony\Component\HttpFoundation\Response;
9 7
 use Illuminate\Database\Eloquent\Relations\Relation;
8
+use Illuminate\Support\Collection;
9
+use Symfony\Component\HttpFoundation\Response;
10 10
 
11 11
 class QueryDetector
12 12
 {
Please login to merge, or discard this patch.