Completed
Push — 14-watchdog_capped ( eda19a )
by Frédéric G.
05:30 queued 01:43
created
example.settings.local.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
  */
8 8
 
9 9
 if (!function_exists('configure_mongodb')) {
10
-  function configure_mongodb(\Drupal\Core\Site\Settings &$settings) {
10
+  function configure_mongodb(\Drupal\Core\Site\Settings & $settings) {
11 11
     $settings['mongodb'] = [
12 12
       'clients' => [
13 13
         // Client alias => constructor parameters.
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/EventTemplate.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
       'severity' => [
73 73
         'label' => t('Severity'),
74 74
         'creation_callback' => 'intval',
75
-        'display_callback' => function ($level) {
75
+        'display_callback' => function($level) {
76 76
           return RfcLogLevel::getLevels()[$level];
77 77
         },
78 78
       ],
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Controller/AdminController.php 1 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/Form/ConfigForm.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
   /**
50 50
    * Gets the configuration names that will be editable.
51 51
    *
52
-   * @return array
52
+   * @return string[]
53 53
    *   An array of configuration object names that are editable if called in
54 54
    *   conjunction with the trait's config() method.
55 55
    */
Please login to merge, or discard this patch.