@@ -7,7 +7,7 @@ |
||
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. |
@@ -72,7 +72,7 @@ |
||
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 | ], |
@@ -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. |
@@ -49,7 +49,7 @@ |
||
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 | */ |