Completed
Push — 2761013-watchdog_pager ( 2d12f8 )
by Frédéric G.
02:46
created
modules/mongodb_watchdog/src/Logger.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -465,14 +465,14 @@
 block discarded – undo
465 465
   }
466 466
 
467 467
     /**
468
-   * Return an array of templates uses during a given request.
469
-   *
470
-   * @param string $unsafe_request_id
471
-   *   A request "unique_id".
472
-   *
473
-   * @return array
474
-   *   An array of EventTemplate instances.
475
-   */
468
+     * Return an array of templates uses during a given request.
469
+     *
470
+     * @param string $unsafe_request_id
471
+     *   A request "unique_id".
472
+     *
473
+     * @return array
474
+     *   An array of EventTemplate instances.
475
+     */
476 476
   public function requestTemplates($unsafe_request_id) {
477 477
     $request_id = "${unsafe_request_id}";
478 478
     $selector = [
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Controller/DetailController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Drupal\Core\Config\ImmutableConfig;
6 6
 use Drupal\Core\DependencyInjection\ContainerInjectionInterface;
7
-use Drupal\Core\Logger\RfcLogLevel;
8 7
 use Drupal\Core\Template\Attribute;
9 8
 use Drupal\mongodb_watchdog\EventController;
10 9
 use Drupal\mongodb_watchdog\EventTemplate;
Please login to merge, or discard this patch.
modules/mongodb_watchdog/src/Controller/RequestController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@
 block discarded – undo
192 192
    */
193 193
   public function track($unique_id) {
194 194
     $logger = \Drupal::logger('test');
195
-    for ($i = 0 ; $i < 1 ; $i++) {
195
+    for ($i = 0; $i < 1; $i++) {
196 196
       $logger->log($i % 8, 'I = @i', ['@i' => $i]);
197 197
     }
198 198
 
Please login to merge, or discard this patch.