@@ -7,11 +7,11 @@ |
||
7 | 7 | use Drupal\Core\Logger\RfcLogLevel; |
8 | 8 | use Drupal\Core\Site\Settings; |
9 | 9 | use Drupal\Core\StringTranslation\StringTranslationTrait; |
10 | +use Drupal\Tests\BrowserTestBase; |
|
10 | 11 | use Drupal\mongodb\MongoDb; |
11 | 12 | use Drupal\mongodb_watchdog\Logger; |
12 | -use Drupal\Tests\BrowserTestBase; |
|
13 | -use Psr\Log\LoggerInterface; |
|
14 | 13 | use Psr\Log\LogLevel; |
14 | +use Psr\Log\LoggerInterface; |
|
15 | 15 | use Symfony\Component\HttpFoundation\Response; |
16 | 16 | |
17 | 17 | /** |
@@ -276,7 +276,7 @@ |
||
276 | 276 | /** |
277 | 277 | * Get the log entry information form the page. |
278 | 278 | * |
279 | - * @return array |
|
279 | + * @return callable |
|
280 | 280 | * List of entries and their information. |
281 | 281 | */ |
282 | 282 | protected function getLogEntries(): array { |
@@ -6,9 +6,9 @@ |
||
6 | 6 | |
7 | 7 | use Drupal\Core\Logger\RfcLogLevel; |
8 | 8 | use Drupal\Core\StringTranslation\StringTranslationTrait; |
9 | +use Drupal\Tests\mongodb\Kernel\MongoDbTestBase; |
|
9 | 10 | use Drupal\mongodb\MongoDb; |
10 | 11 | use Drupal\mongodb_watchdog\Logger; |
11 | -use Drupal\Tests\mongodb\Kernel\MongoDbTestBase; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * Class LoggerTest tests the logging mechanism itself. |