@@ -40,6 +40,9 @@ discard block |
||
| 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 |
||
| 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); |
@@ -76,7 +76,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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) |