Completed
Push — master ( b9a329...d3763f )
by Marcel
10s
created
src/QueryDetector.php 2 patches
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.
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.