Completed
Push — master ( 856f7c...9f8837 )
by Robbie
01:36
created
code/DebugBar.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
 
66 66
     /**
67 67
      * Get the Debug Bar instance
68
-     * @return \DebugBar\StandardDebugBar
68
+     * @return DebugBar\DebugBar|null
69 69
      * @throws Exception
70 70
      * @global array $databaseConfig
71 71
      */
@@ -172,6 +172,9 @@  discard block
 block discarded – undo
172 172
         return self::$showQueries;
173 173
     }
174 174
 
175
+    /**
176
+     * @param boolean $showQueries
177
+     */
175 178
     public static function setShowQueries($showQueries)
176 179
     {
177 180
         self::$showQueries = $showQueries;
Please login to merge, or discard this patch.
code/Proxy/DatabaseProxy.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -40,6 +40,9 @@  discard block
 block discarded – undo
40 40
         return $this->showQueries;
41 41
     }
42 42
 
43
+    /**
44
+     * @param boolean $showQueries
45
+     */
43 46
     public function setShowQueries($showQueries)
44 47
     {
45 48
         $this->showQueries = $showQueries;
@@ -366,6 +369,9 @@  discard block
 block discarded – undo
366 369
         );
367 370
     }
368 371
 
372
+    /**
373
+     * @param integer $errorLevel
374
+     */
369 375
     public function oldQuery($sql, $errorLevel = E_USER_ERROR)
370 376
     {
371 377
         return $this->realConn->query($sql, $errorLevel);
Please login to merge, or discard this patch.
tests/Collector/SilverStripeCollectorTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use LeKoala\DebugBar\Collector\SilverStripeCollector;
7 7
 use SilverStripe\Control\Controller;
8 8
 use SilverStripe\Control\HTTPRequest;
9
-use SilverStripe\Control\Session;
10 9
 use SilverStripe\Dev\SapphireTest;
11 10
 use SilverStripe\Security\Member;
12 11
 use SilverStripe\SiteConfig\SiteConfig;
Please login to merge, or discard this patch.
tests/Proxy/DatabaseProxyTest.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,11 +4,9 @@
 block discarded – undo
4 4
 
5 5
 use LeKoala\DebugBar\Proxy\DatabaseProxy;
6 6
 use SilverStripe\Dev\SapphireTest;
7
-use SilverStripe\ORM\Connect\DBConnector;
8 7
 use SilverStripe\ORM\Connect\DBSchemaManager;
9 8
 use SilverStripe\ORM\Connect\DBQueryBuilder;
10 9
 use SilverStripe\ORM\Connect\MySQLDatabase;
11
-use SilverStripe\ORM\Connect\MySQLiConnector;
12 10
 use SilverStripe\ORM\Connect\MySQLSchemaManager;
13 11
 use SilverStripe\ORM\Connect\MySQLQueryBuilder;
14 12
 use SilverStripe\ORM\DB;
Please login to merge, or discard this patch.
code/Collector/DatabaseCollector.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use DebugBar\DataCollector\AssetProvider;
6 6
 use DebugBar\DataCollector\DataCollector;
7 7
 use DebugBar\DataCollector\Renderable;
8
-use DebugBar\DataCollector\TimeDataCollector as BaseTimeDataCollector;
9 8
 use LeKoala\DebugBar\DebugBar;
10 9
 use Psr\Log\LoggerInterface;
11 10
 use SilverStripe\Core\Config\Config;
Please login to merge, or discard this patch.