@@ -214,6 +214,8 @@ |
||
214 | 214 | |
215 | 215 | /** |
216 | 216 | * Initialize the global pager variables for use in a mongodb_watchdog event list. |
217 | + * @param integer $element |
|
218 | + * @param integer $limit |
|
217 | 219 | */ |
218 | 220 | function mongodb_watchdog_pager_init($element, $limit, $total) { |
219 | 221 | global $pager_page_array, $pager_total, $pager_total_items; |
@@ -10,11 +10,10 @@ |
||
10 | 10 | use Drupal\Component\Utility\Unicode; |
11 | 11 | use Drupal\Core\DependencyInjection\ContainerInjectionInterface; |
12 | 12 | use Drupal\Core\Url; |
13 | -use Drupal\mongodb\Connection; |
|
14 | 13 | use Drupal\mongodb_watchdog\Logger; |
15 | 14 | use MongoDB\Database; |
16 | -use Psr\Log\LoggerInterface; |
|
17 | 15 | use Psr\Log\LogLevel; |
16 | +use Psr\Log\LoggerInterface; |
|
18 | 17 | use Symfony\Component\DependencyInjection\ContainerInterface; |
19 | 18 | |
20 | 19 | /** |
@@ -43,7 +43,7 @@ |
||
43 | 43 | * |
44 | 44 | * @param \MongoDB\Database $database |
45 | 45 | * The watchdog database. |
46 | - * @param \Psr\Log\LoggerInterface $logger |
|
46 | + * @param Logger $logger |
|
47 | 47 | * The logger service, to log intervening events. |
48 | 48 | * @param \Drupal\mongodb_watchdog\Logger $watchdog |
49 | 49 | * The MongoDB logger, to load stored events. |
@@ -144,6 +144,7 @@ |
||
144 | 144 | /** |
145 | 145 | * Generic controller for admin/reports/mongodb/<top report>. |
146 | 146 | * |
147 | + * @param string $type |
|
147 | 148 | * @return array |
148 | 149 | * A render array. |
149 | 150 | */ |
@@ -2,9 +2,9 @@ |
||
2 | 2 | |
3 | 3 | namespace Drupal\mongodb_watchdog\Form; |
4 | 4 | |
5 | +use Drupal\Core\Form\ConfirmFormBase; |
|
5 | 6 | use Drupal\Core\Form\FormStateInterface; |
6 | 7 | use Drupal\Core\Url; |
7 | -use Drupal\Core\Form\ConfirmFormBase; |
|
8 | 8 | use Drupal\mongodb_watchdog\Logger; |
9 | 9 | use MongoDB\Database; |
10 | 10 | use Symfony\Component\DependencyInjection\ContainerInterface; |