@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types = 1); |
|
3 | +declare(strict_types=1); |
|
4 | 4 | |
5 | 5 | namespace Drupal\Tests\mongodb_watchdog\Functional; |
6 | 6 | |
@@ -310,7 +310,7 @@ discard block |
||
310 | 310 | */ |
311 | 311 | protected function assertTypeCount(array $types) { |
312 | 312 | $entries = $this->getLogEntries(); |
313 | - $reducer = function ($accu, $curr) { |
|
313 | + $reducer = function($accu, $curr) { |
|
314 | 314 | $accu[$curr['type'] . '-' . $curr['severity']] = [$curr['type'], $curr['severity']]; |
315 | 315 | return $accu; |
316 | 316 | }; |
@@ -574,7 +574,7 @@ discard block |
||
574 | 574 | $this->submitForm($edit, 'Filter'); |
575 | 575 | |
576 | 576 | // Check whether the displayed event templates match our filter. |
577 | - $filteredTypes = array_filter($types, function (array $type) use ($typeName) { |
|
577 | + $filteredTypes = array_filter($types, function(array $type) use ($typeName) { |
|
578 | 578 | return $type['type'] === $typeName; |
579 | 579 | }); |
580 | 580 | $this->assertTypeCount($filteredTypes); |
@@ -589,7 +589,7 @@ discard block |
||
589 | 589 | ]; |
590 | 590 | $this->submitForm($edit, 'Filter'); |
591 | 591 | |
592 | - $filteredTypes = array_filter($types, function (array $type) use ($typeType, $typeSeverity) { |
|
592 | + $filteredTypes = array_filter($types, function(array $type) use ($typeType, $typeSeverity) { |
|
593 | 593 | return $type['type'] === $typeType && $type['severity'] == $typeSeverity; |
594 | 594 | }); |
595 | 595 |