Completed
Push — master ( ad3df1...0376e0 )
by Marcel
11s
created
src/QueryDetector.php 2 patches
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -78,6 +78,9 @@  discard block
 block discarded – undo
78 78
         }
79 79
     }
80 80
 
81
+    /**
82
+     * @param Collection $stack
83
+     */
81 84
     protected function findSource($stack)
82 85
     {
83 86
         $sources = [];
@@ -179,6 +182,9 @@  discard block
 block discarded – undo
179 182
         }
180 183
     }
181 184
 
185
+    /**
186
+     * @param \Illuminate\Http\Response $response
187
+     */
182 188
     public function output($request, $response)
183 189
     {
184 190
         if ($this->getDetectedQueries()->isNotEmpty()) {
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\QueryDetector;
4 4
 
5
+use BeyondCode\QueryDetector\Events\QueryDetected;
5 6
 use DB;
6
-use Illuminate\Support\Collection;
7 7
 use Illuminate\Database\Eloquent\Builder;
8
-use Symfony\Component\HttpFoundation\Response;
9 8
 use Illuminate\Database\Eloquent\Relations\Relation;
10
-use BeyondCode\QueryDetector\Events\QueryDetected;
9
+use Illuminate\Support\Collection;
10
+use Symfony\Component\HttpFoundation\Response;
11 11
 
12 12
 class QueryDetector
13 13
 {
Please login to merge, or discard this patch.