Completed
Push — 9-watchdog_detail_controller ( 137dc2...f3dc4c )
by Frédéric G.
02:54
created
modules/mongodb_watchdog/mongodb_watchdog.admin.inc 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -214,6 +214,8 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Controller/AdminController.php 2 patches
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,11 +10,10 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Controller/TopController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -144,6 +144,7 @@
 block discarded – undo
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
    */
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Form/ClearConfirmForm.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,9 +2,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.