Completed
Push — master ( 055c36...a12289 )
by Thomas
17:02
created
code/Collector/DatabaseCollector.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,7 @@
 block discarded – undo
6 6
 use DebugBar\DataCollector\DataCollector;
7 7
 use DebugBar\DataCollector\Renderable;
8 8
 use LeKoala\DebugBar\DebugBar;
9
-use Psr\Log\LoggerInterface;
10 9
 use SilverStripe\Control\Director;
11
-use SilverStripe\Core\Injector\Injector;
12 10
 use SilverStripe\ORM\DB;
13 11
 
14 12
 /**
Please login to merge, or discard this patch.
code/DebugBar.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
     /**
78 78
      * Get the Debug Bar instance
79
-     * @return \DebugBar\StandardDebugBar
79
+     * @return DebugBar\DebugBar|null
80 80
      * @throws Exception
81 81
      * @global array $databaseConfig
82 82
      */
@@ -215,6 +215,9 @@  discard block
 block discarded – undo
215 215
         return self::$showQueries;
216 216
     }
217 217
 
218
+    /**
219
+     * @param boolean $showQueries
220
+     */
218 221
     public static function setShowQueries($showQueries)
219 222
     {
220 223
         self::$showQueries = $showQueries;
@@ -223,7 +226,7 @@  discard block
 block discarded – undo
223 226
     /**
224 227
      * Helper to access this module resources
225 228
      *
226
-     * @param string $name
229
+     * @param string $path
227 230
      * @return ModuleResource
228 231
      */
229 232
     public static function moduleResource($path)
Please login to merge, or discard this patch.